Skip to content

Commit f9302bd

Browse files
committed
Change default port to 9080
1 parent d9b40b7 commit f9302bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The following environment variables can be set to change some Panther behaviors:
216216
* `PANTHER_WEB_SERVER_DIR`: to change the project's document root (default to `public/`)
217217
* `PANTHER_CHROME_DRIVER_BINARY`: to use another `chromedriver` binary, instead of relying on the ones already provided by Panther
218218
* `PANTHER_CHROME_ARGUMENTS`: to customize `chromedriver` arguments. You need to set `PANTHER_NO_HEADLESS` to fully customize.
219-
* `PANTHER_WEB_SERVER_PORT`: to change the web server's port (default to `9000`)
219+
* `PANTHER_WEB_SERVER_PORT`: to change the web server's port (default to `9080`)
220220
* `PANTHER_WEB_SERVER_ROUTER`: to use a web server router script which is run at the start of each HTTP request
221221

222222
## Docker Integration

src/PantherTestCaseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ trait PantherTestCaseTrait
6262
protected static $defaultOptions = [
6363
'webServerDir' => __DIR__.'/../../../../public', // the Flex directory structure
6464
'hostname' => '127.0.0.1',
65-
'port' => 9000,
65+
'port' => 9080,
6666
'router' => '',
6767
];
6868

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function testCookie(callable $clientFactory, string $type)
241241
*/
242242
public function testServerPort(callable $clientFactory): void
243243
{
244-
$expectedPort = $_SERVER['PANTHER_WEB_SERVER_PORT'] ?? '9000';
244+
$expectedPort = $_SERVER['PANTHER_WEB_SERVER_PORT'] ?? '9080';
245245
$client = $clientFactory();
246246
$this->assertEquals($expectedPort, \mb_substr(self::$baseUri, -4));
247247
}

0 commit comments

Comments
 (0)