mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUGFIX: Remove test that is no longer needed
This commit is contained in:
parent
1d2c96b6de
commit
b2802248d5
@ -53,18 +53,7 @@ class BlogHolderTest extends SapphireTest {
|
|||||||
$this->assertContains($entry->URLSegment, $expectedEntries);
|
$this->assertContains($entry->URLSegment, $expectedEntries);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function testcheckAccessAction() {
|
|
||||||
$blogHolder = new BlogHolder_Controller();
|
|
||||||
|
|
||||||
$this->assertTrue($blogHolder->checkAccessAction('2009'));
|
|
||||||
$this->assertTrue($blogHolder->checkAccessAction('0001'));
|
|
||||||
$this->assertTrue($blogHolder->checkAccessAction('12345'));
|
|
||||||
|
|
||||||
$this->assertFalse($blogHolder->checkAccessAction('209'));
|
|
||||||
$this->assertFalse($blogHolder->checkAccessAction('123A'));
|
|
||||||
$this->assertFalse($blogHolder->checkAccessAction('ab01a'));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user