Skip to content

Commit

Permalink
Move to nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Aug 15, 2024
1 parent 2f84421 commit b8adc9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ public function ldapUserLogsInWithPassword($arg1, $arg2)
// curl -i 'http://localhost/wp-login.php' -X POST -H 'Cookie: wordpress_test_cookie=test' --data-raw 'log=localadmin&pwd=P%40ssw0rd'
$client = new Client();

$this->res = $client->post('http://wp/wp-login.php', [
$this->res = $client->post('http://nginx/wp-login.php', [
'cookies' => CookieJar::fromArray([
'wordpress_test_cookie' => 'test',
'XDEBUG_SESSION' => 'PHPSTORM',
], 'http://wp'),
], 'http://nginx'),
'form_params' => [
'log' => $arg1,
'pwd' => $arg2,
Expand Down

0 comments on commit b8adc9d

Please sign in to comment.