Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 15, 2023
1 parent f77300c commit acf73d7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mtf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
--health-retries=3
selenium:
image: selenium/standalone-firefox
# options: --health-cmd "curl http://localhost:4444" --health-interval=5s
# options: --health-cmd "curl http://127.0.0.1:4444" --health-interval=5s
ports:
- 4444:4444

Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Core/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ public function getDistroServerVars()

$baseUrl = $scheme . $host . $port . rtrim($path, '/') . '/';
} else {
$baseUrl = 'http://localhost/';
$baseUrl = 'http://127.0.0.1/';
}

$options = $this->getOptions();
Expand Down
2 changes: 1 addition & 1 deletion dev/tests/functional/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<user>openmage</user>
<password>openmage</password>
<dbName>openmage</dbName>
<baseUrl>http://localhost/</baseUrl>
<baseUrl>http://127.0.0.1/</baseUrl>
<backendName>admin</backendName>
</install>
<isolation>
Expand Down
4 changes: 2 additions & 2 deletions dev/tests/functional/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
</listeners>

<php>
<env name="app_frontend_url" value="http://localhost/index.php/" />
<env name="app_backend_url" value="http://localhost/index.php/backend/" />
<env name="app_frontend_url" value="http://127.0.0.1/index.php/" />
<env name="app_backend_url" value="http://127.0.0.1/index.php/admin/" />
<env name="testsuite_rule" value="basic" />
<env name="testsuite_rule_path" value="Magento/Mtf/TestSuite/InjectableTests" />
<env name="log_directory" value="var/log" />
Expand Down

0 comments on commit acf73d7

Please sign in to comment.