mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Remove superseded tests.
This commit is contained in:
parent
8950061784
commit
fd0699fbcc
@ -1,32 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @package comments
|
|
||||||
*/
|
|
||||||
|
|
||||||
class CommentAdminTest extends FunctionalTest {
|
|
||||||
|
|
||||||
static $fixture_file = 'comments/tests/CommentsTest.yml';
|
|
||||||
|
|
||||||
function testNumModerated() {
|
|
||||||
$comm = new CommentAdmin();
|
|
||||||
$resp = $comm->NumModerated();
|
|
||||||
$this->assertEquals(4, $resp);
|
|
||||||
}
|
|
||||||
|
|
||||||
function testNumUnmoderated(){
|
|
||||||
$comm = new CommentAdmin();
|
|
||||||
$resp = $comm->NumUnmoderated();
|
|
||||||
$this->assertEquals(3, $resp);
|
|
||||||
}
|
|
||||||
|
|
||||||
function testNumSpam(){
|
|
||||||
$comm = new CommentAdmin();
|
|
||||||
$resp = $comm->NumSpam();
|
|
||||||
$this->assertEquals(2, $resp);
|
|
||||||
}
|
|
||||||
|
|
||||||
function testdeletemarked(){
|
|
||||||
$this->markTestIncomplete("TODO");
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user