Loading _tests/tests/unit_tests/antispam.php +2 −2 Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ class antispam_test_set extends cms_test_case public function testTornevallSubmit() { $this->assertTrue(is_string(http_download_file('https://www.tornevall.net/'))); // Very rough, at least tells us URL still exists $this->assertTrue(is_string(http_download_file('https://www.tornevall.net/', null, false))); // Very rough, at least tells us URL still exists } public function testStopForumSpamSubmit() { $this->assertTrue(is_string(http_download_file('http://www.stopforumspam.com/add.php'))); // Very rough, at least tells us URL still exists $this->assertTrue(is_string(http_download_file('http://www.stopforumspam.com/add.php', null, false))); // Very rough, at least tells us URL still exists } } Loading
_tests/tests/unit_tests/antispam.php +2 −2 Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ class antispam_test_set extends cms_test_case public function testTornevallSubmit() { $this->assertTrue(is_string(http_download_file('https://www.tornevall.net/'))); // Very rough, at least tells us URL still exists $this->assertTrue(is_string(http_download_file('https://www.tornevall.net/', null, false))); // Very rough, at least tells us URL still exists } public function testStopForumSpamSubmit() { $this->assertTrue(is_string(http_download_file('http://www.stopforumspam.com/add.php'))); // Very rough, at least tells us URL still exists $this->assertTrue(is_string(http_download_file('http://www.stopforumspam.com/add.php', null, false))); // Very rough, at least tells us URL still exists } }