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,10 +1,10 @@
<?php
class CommentListTest extends WebTestCase {
class CommentListTest extends ShimmieWebTestCase {
function testCommentsPage() {
$this->get(TEST_BASE.'/comment/list');
$this->get_page('comment/list');
$this->assertTitle('Comments');
$this->get(TEST_BASE.'/comment/list/2');
$this->get_page('comment/list/2');
$this->assertTitle('Comments');
}
}