Skip to content

Commit 590d8da

Browse files
committed
Move Localhost initialization after Deployer setup in FunctionsTest.
1 parent d0901fe commit 590d8da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/src/FunctionsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ protected function setUp(): void
3333

3434
$input = $this->createStub(Input::class);
3535
$output = $this->createStub(Output::class);
36-
$host = new Localhost();
3736

3837
$this->deployer = new Deployer($console);
3938
$this->deployer['input'] = $input;
4039
$this->deployer['output'] = $output;
40+
41+
$host = new Localhost();
4142
Context::push(new Context($host));
4243
}
4344

0 commit comments

Comments
 (0)