diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-02-22 02:28:41 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-02-22 02:41:25 +0100 |
commit | 7ee0f148248305fbdc3d871fb94cb6c6877c72be (patch) | |
tree | 4d7fbd7f0f16d6e5b7e5dabba7211b90187ebde0 /tests | |
parent | b3eb728565233617cda3c9860cada14617d0e70b (diff) |
Replace hardcoded URL with variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/bootstrap/RecordingTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/features/bootstrap/RecordingTrait.php b/tests/integration/features/bootstrap/RecordingTrait.php index f2a1d9833..dcd0e00eb 100644 --- a/tests/integration/features/bootstrap/RecordingTrait.php +++ b/tests/integration/features/bootstrap/RecordingTrait.php @@ -40,7 +40,7 @@ trait RecordingTrait { } // "the secret" is hardcoded in the fake recording server. - $this->setAppConfig('spreed', new TableNode([['recording_servers', json_encode(['servers' => [['server' => 'http://127.0.0.1:9000']], 'secret' => 'the secret'])]])); + $this->setAppConfig('spreed', new TableNode([['recording_servers', json_encode(['servers' => [['server' => 'http://' . $this->recordingServerAddress]], 'secret' => 'the secret'])]])); $this->recordingServerPid = exec('php -S ' . $this->recordingServerAddress . ' features/bootstrap/FakeRecordingServer.php >/dev/null & echo $!'); } |