Delete run manifest domain model
This commit is contained in:
@@ -388,8 +388,10 @@ func TestPublishAllowsEmptyCurrentRunDiagnostics(t *testing.T) {
|
||||
t.Fatalf("DecodeRemoteCommitManifest() error = %v", err)
|
||||
}
|
||||
for _, artifact := range commit.Artifacts {
|
||||
if artifact.Type == artifacts.RemoteArtifactTypeRunManifest {
|
||||
t.Fatal("publish emitted a run manifest artifact")
|
||||
switch artifact.Type {
|
||||
case artifacts.RemoteArtifactTypeSessionManifest, artifacts.RemoteArtifactTypePublishedOutput, artifacts.RemoteArtifactTypePreviousArtifact:
|
||||
default:
|
||||
t.Fatalf("empty diagnostics published unexpected artifact type %q", artifact.Type)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user