Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed May 9, 2023
1 parent ab81017 commit ed392b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/manager/impl/execution_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,8 @@ func TestRecoverExecutionEnvsOverride(t *testing.T) {
assert.Equal(t, admin.ExecutionMetadata_RECOVERED, spec.Metadata.Mode)
assert.Equal(t, int32(admin.ExecutionMetadata_RECOVERED), input.Mode)
assert.NotNil(t, spec.GetEnvs())
assert.Equal(t, spec.GetEnvs().GetValues(), env)
assert.Equal(t, spec.GetEnvs().GetValues()[0].Key, env[0].Key)
assert.Equal(t, spec.GetEnvs().GetValues()[0].Value, env[0].Value)
return nil
}
repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetCreateCallback(exCreateFunc)
Expand Down

0 comments on commit ed392b5

Please sign in to comment.