diff options
Diffstat (limited to 'config/artifacts_test.go')
-rw-r--r-- | config/artifacts_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/artifacts_test.go b/config/artifacts_test.go index b7ba07f..85bad02 100644 --- a/config/artifacts_test.go +++ b/config/artifacts_test.go @@ -60,15 +60,19 @@ func TestArtifactsConfigInstructions(t *testing.T) { assert.Empty(t, cfg.InstructionsForPhase(build.PhasePreInstall)) }) - t.Run("PhasePostInstall", func(t *testing.T) { + t.Run("PhaseInstall", func(t *testing.T) { assert.Equal(t, []build.Instruction{build.CopyFrom{ "foo", build.Copy{[]string{"/source/path"}, "/destination/path"}, }}, - cfg.InstructionsForPhase(build.PhasePostInstall), + cfg.InstructionsForPhase(build.PhaseInstall), ) }) + + t.Run("PhasePostInstall", func(t *testing.T) { + assert.Empty(t, cfg.InstructionsForPhase(build.PhasePostInstall)) + }) } func TestArtifactsConfigValidation(t *testing.T) { |