Skip to content

Commit 785d89a

Browse files
committed
Add env to expectation
1 parent 7638229 commit 785d89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli/build_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class CliBuildTest < CliTestCase
199199
.returns("")
200200

201201
SSHKit::Backend::Abstract.any_instance.expects(:execute)
202-
.with(:docker, :buildx, :build, "--output=type=registry", "--platform", "linux/amd64", "--builder", "kamal-local-registry-docker-container", "-t", "localhost:5000/dhh/app:999", "-t", "localhost:5000/dhh/app:latest", "--label", "service=\"app\"", "--file", "Dockerfile", ".", "2>&1")
202+
.with(:docker, :buildx, :build, "--output=type=registry", "--platform", "linux/amd64", "--builder", "kamal-local-registry-docker-container", "-t", "localhost:5000/dhh/app:999", "-t", "localhost:5000/dhh/app:latest", "--label", "service=\"app\"", "--file", "Dockerfile", ".", "2>&1", env: {})
203203

204204
run_command("push", fixture: :with_local_registry_and_accessories).tap do |output|
205205
assert_match /WARN Missing compatible builder, so creating a new one first/, output

0 commit comments

Comments
 (0)