@@ -708,37 +708,37 @@ public function testSetUserAgentUsingConfig(): void
708
708
709
709
public function testIfStatusCodeIsWithin2xxRange (): void
710
710
{
711
- $ this ->module ->amOnPage ('https ://httpstat.us/ 200 ' );
711
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 200 ' );
712
712
$ this ->module ->seeResponseCodeIsSuccessful ();
713
713
714
- $ this ->module ->amOnPage ('https ://httpstat.us/ 299 ' );
714
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 299 ' );
715
715
$ this ->module ->seeResponseCodeIsSuccessful ();
716
716
}
717
717
718
718
public function testIfStatusCodeIsWithin3xxRange (): void
719
719
{
720
- $ this ->module ->amOnPage ('https ://httpstat.us/ 300 ' );
720
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 300 ' );
721
721
$ this ->module ->seeResponseCodeIsRedirection ();
722
722
723
- $ this ->module ->amOnPage ('https ://httpstat.us/ 399 ' );
723
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 399 ' );
724
724
$ this ->module ->seeResponseCodeIsRedirection ();
725
725
}
726
726
727
727
public function testIfStatusCodeIsWithin4xxRange (): void
728
728
{
729
- $ this ->module ->amOnPage ('https ://httpstat.us/ 400 ' );
729
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 400 ' );
730
730
$ this ->module ->seeResponseCodeIsClientError ();
731
731
732
- $ this ->module ->amOnPage ('https ://httpstat.us/ 499 ' );
732
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 499 ' );
733
733
$ this ->module ->seeResponseCodeIsClientError ();
734
734
}
735
735
736
736
public function testIfStatusCodeIsWithin5xxRange (): void
737
737
{
738
- $ this ->module ->amOnPage ('https ://httpstat.us/ 500 ' );
738
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 500 ' );
739
739
$ this ->module ->seeResponseCodeIsServerError ();
740
740
741
- $ this ->module ->amOnPage ('https ://httpstat.us/ 599 ' );
741
+ $ this ->module ->amOnPage ('http ://localhost:8000/status.php?status= 599 ' );
742
742
$ this ->module ->seeResponseCodeIsServerError ();
743
743
}
744
744
0 commit comments