Skip to content

Commit 230d9df

Browse files
committed
Status-code for redirects was changed
1 parent 757a306 commit 230d9df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/www/LoginIntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function testValidServiceUrl(string $serviceParam, string $ticketParam)
178178
CURLOPT_COOKIEFILE => $this->cookies_file
179179
]
180180
);
181-
$this->assertEquals(302, $resp['code']);
181+
$this->assertEquals(303, $resp['code']);
182182

183183
$this->assertStringStartsWith(
184184
$service_url . '?' . $ticketParam . '=ST-',
@@ -236,7 +236,7 @@ public function testValidTicketNameOverride()
236236
CURLOPT_COOKIEFILE => $this->cookies_file
237237
]
238238
);
239-
$this->assertEquals(302, $resp['code']);
239+
$this->assertEquals(303, $resp['code']);
240240

241241
$this->assertStringStartsWith(
242242
$service_url . '?myTicket=ST-',
@@ -400,7 +400,7 @@ public function testSamlValidate()
400400
CURLOPT_COOKIEFILE => $this->cookies_file
401401
]
402402
);
403-
$this->assertEquals(302, $resp['code']);
403+
$this->assertEquals(303, $resp['code']);
404404

405405
$this->assertStringStartsWith(
406406
$service_url . '?ticket=ST-',

0 commit comments

Comments
 (0)