A ton of tests, figured out how to test uploads \o/

This commit is contained in:
Shish
2009-07-15 02:42:18 +01:00
parent 8dac266af4
commit c88ecebb7b
25 changed files with 250 additions and 153 deletions

View File

@ -1,9 +1,9 @@
<?php
class HomeTest extends WebTestCase {
class HomeTest extends ShimmieWebTestCase {
function testHomePage() {
$this->get(TEST_BASE.'/home');
$this->assertTitle('Shimmie Testbed');
$this->assertText('Shimmie Testbed');
$this->get_page('home');
$this->assertTitle('Shimmie');
$this->assertText('Shimmie');
}
}
?>