forked from Cavemanon/cavepaintings
PHPUnit proof of concept
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
<?php
|
||||
class HomeTest extends ShimmieWebTestCase {
|
||||
class HomeTest extends ShimmiePHPUnitTestCase {
|
||||
function testHomePage() {
|
||||
$this->get_page('home');
|
||||
$this->assert_title('Shimmie');
|
||||
$this->assert_text('Shimmie');
|
||||
|
||||
// FIXME: this page doesn't use blocks; need assert_data_contains
|
||||
//$this->assert_title('Shimmie');
|
||||
//$this->assert_text('Shimmie');
|
||||
|
||||
# FIXME: test search box
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user