From 7949f7fe746dbbe3eeefbc123bbb2c551b091733 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 14 Apr 2006 05:14:34 +0000 Subject: Fixed #93 and #121 --- .../UnitTests/simpletest/test/real_sites_test.php | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 tests/UnitTests/simpletest/test/real_sites_test.php (limited to 'tests/UnitTests/simpletest/test/real_sites_test.php') diff --git a/tests/UnitTests/simpletest/test/real_sites_test.php b/tests/UnitTests/simpletest/test/real_sites_test.php deleted file mode 100644 index 728b6e95..00000000 --- a/tests/UnitTests/simpletest/test/real_sites_test.php +++ /dev/null @@ -1,29 +0,0 @@ -assertTrue($this->get('http://www.lastcraft.com')); - $this->assertResponse(array(200)); - $this->assertMime(array('text/html')); - $this->clickLink('About'); - $this->assertTitle('About Last Craft'); - } - - function testSourceforge() { - $this->assertTrue($this->get('http://sourceforge.net/')); - $this->setField('words', 'simpletest'); - $this->assertTrue($this->clickImageByName('imageField')); - $this->assertTitle('SourceForge.net: Search'); - $this->assertTrue($this->clickLink('SimpleTest')); - $this->clickLink('statistics'); - $this->assertWantedPattern('/Statistics for the past 7 days/'); - $this->assertTrue($this->setField('report', 'Monthly')); - $this->clickSubmit('Change Stats View'); - $this->assertWantedPattern('/Statistics for the past \d+ months/'); - } - } -?> \ No newline at end of file -- cgit v1.2.3