forked from Cavemanon/cavepaintings
PHPUnit proof of concept
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
class NumericScoreTest extends ShimmieWebTestCase {
|
||||
class NumericScoreTest {
|
||||
function testNumericScore() {
|
||||
$this->log_in_as_user();
|
||||
$image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx");
|
||||
$image_id = $this->post_image("tests/pbx_screenshot.jpg", "pbx");
|
||||
$this->get_page("post/view/$image_id");
|
||||
$this->assert_text("Current Score: 0");
|
||||
$this->click("Vote Down");
|
||||
|
Reference in New Issue
Block a user