Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Brown <[email protected]>
  • Loading branch information
Joey committed Nov 27, 2024
1 parent 8340d82 commit 4a09c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions acceptance/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2194,10 +2194,7 @@ func testAcceptance(
assert.Nil(err)

assertOutput := assertions.NewOutputAssertionManager(t, output)
assertOutput.ReportsRunImageStackNotMatchingBuilder(
"other.stack.id",
"pack.test.stack",
)
assertOutput.ReportsRunImageStackNotMatchingBuilder()
})
})
})
Expand Down
2 changes: 1 addition & 1 deletion acceptance/assertions/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (o OutputAssertionManager) ReportsSkippingRestore() {
o.assert.Contains(o.output, "Skipping 'restore' due to clearing cache")
}

func (o OutputAssertionManager) ReportsRunImageStackNotMatchingBuilder(runImageStack, builderStack string) {
func (o OutputAssertionManager) ReportsRunImageStackNotMatchingBuilder() {
o.testObject.Helper()

o.assert.Contains(o.output, "Warning: deprecated usage of stack")
Expand Down

0 comments on commit 4a09c54

Please sign in to comment.