@@ -119,9 +119,9 @@ public function testSeeLink()
119119 {
120120 $ this ->module ->amOnPage ('/external_url ' );
121121 $ this ->module ->seeLink ('Next ' );
122- $ this ->module ->seeLink ('Next ' , 'http ://codeception.com/ ' );
122+ $ this ->module ->seeLink ('Next ' , 'https ://codeception.com/ ' );
123123 // Without TLD and trailing slash
124- $ this ->module ->dontSeeLink ('Next ' , 'http ://codeception ' );
124+ $ this ->module ->dontSeeLink ('Next ' , 'https ://codeception ' );
125125 }
126126
127127 public function testDontSeeLink ()
@@ -152,7 +152,7 @@ public function testSeeLinkFailsIfHrefDoesNotMatchExactly()
152152 $ this ->expectException ('PHPUnit\Framework\AssertionFailedError ' );
153153 $ this ->expectExceptionMessage ("No links containing text 'Next' and URL 'http://codeception' were found in page /external_url " );
154154 $ this ->module ->amOnPage ('/external_url ' );
155- $ this ->module ->seeLink ('Next ' , 'http ://codeception ' );
155+ $ this ->module ->seeLink ('Next ' , 'https ://codeception ' );
156156 }
157157
158158 public function testDontSeeLinkFailsIfTextMatches ()
@@ -166,9 +166,9 @@ public function testDontSeeLinkFailsIfTextMatches()
166166 public function testDontSeeLinkFailsIfTextAndUrlMatches ()
167167 {
168168 $ this ->expectException ('PHPUnit\Framework\AssertionFailedError ' );
169- $ this ->expectExceptionMessage ("Link containing text 'Next' and URL 'http ://codeception.com/' was found in page /external_url " );
169+ $ this ->expectExceptionMessage ("Link containing text 'Next' and URL 'https ://codeception.com/' was found in page /external_url " );
170170 $ this ->module ->amOnPage ('/external_url ' );
171- $ this ->module ->dontSeeLink ('Next ' , 'http ://codeception.com/ ' );
171+ $ this ->module ->dontSeeLink ('Next ' , 'https ://codeception.com/ ' );
172172 }
173173
174174 public function testSeeLinkMatchesRelativeLink ()
0 commit comments