@@ -74,7 +74,7 @@ public function testRedirection(): void
7474 $ resp = $ this ->server ->get ('/index.php ' , [], [
7575 CURLOPT_FOLLOWLOCATION => 0 ,
7676 ]);
77- $ this ->assertEquals ('302 ' , $ resp ['code ' ]);
77+ $ this ->assertEquals ('303 ' , $ resp ['code ' ]);
7878 $ this ->assertEquals (
7979 'http://example.org/simplesaml/module.php/core/login ' ,
8080 $ resp ['headers ' ]['Location ' ]
@@ -87,7 +87,7 @@ public function testRedirection(): void
8787 $ resp = $ this ->server ->get ('/index.php ' , [], [
8888 CURLOPT_FOLLOWLOCATION => 0 ,
8989 ]);
90- $ this ->assertEquals ('302 ' , $ resp ['code ' ]);
90+ $ this ->assertEquals ('303 ' , $ resp ['code ' ]);
9191 $ this ->assertEquals (
9292 'https://example.org/module.php/core/login ' ,
9393 $ resp ['headers ' ]['Location ' ]
@@ -100,7 +100,7 @@ public function testRedirection(): void
100100 $ resp = $ this ->server ->get ('/index.php ' , [], [
101101 CURLOPT_FOLLOWLOCATION => 0 ,
102102 ]);
103- $ this ->assertEquals ('302 ' , $ resp ['code ' ]);
103+ $ this ->assertEquals ('303 ' , $ resp ['code ' ]);
104104 $ this ->assertEquals (
105105 'http:// ' . $ this ->server_addr . '/simplesaml/module.php/core/login ' ,
106106 $ resp ['headers ' ]['Location ' ]
0 commit comments