Skip to content

Commit

Permalink
style(test) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed May 30, 2020
1 parent 18e72aa commit f1f1bac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/init/InstallationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ public function should_correctly_scaffold_with_mysql_on_unix_socket_with_home_sy
$this->markTestSkipped('This test requires the uopz extension to run.');
}

$workDir = codecept_output_dir('init/installationTest/mysql_on_unix_socket_w_home_symbol');
$workDir = codecept_output_dir('init/installationTest/mysql_on_unix_socket_w_home_symbol');

replacingWithUopz([
replacingWithUopz([
'tad\WPBrowser\homeDir' => '/Users/test'
], function ()use($workDir) {
], function () use ($workDir) {
$input = $this->makeEmpty(ArrayInput::class, [
'get_option' => static function ($option) {
return $option === 'quiet' || $option === 'no-interaction' ? true : null;
Expand All @@ -205,7 +205,7 @@ public function should_correctly_scaffold_with_mysql_on_unix_socket_with_home_sy
$init->setup(true);
});

$this->assertMatchesDirectorySnapshot($workDir);
$this->assertMatchesDirectorySnapshot($workDir);
}

/**
Expand Down

0 comments on commit f1f1bac

Please sign in to comment.