MINOR: Fix PHPUnit @covers assertions for DBStringTest

This resolves issues when PHPUnit is run strictly, where it exits when
it hits an @covers annotation that references a method that doesn't exist
This commit is contained in:
madmatt 2016-03-26 17:58:28 +13:00
parent 1e53f29f33
commit 41a3a86862

View File

@ -11,7 +11,7 @@ use SilverStripe\Model\FieldType\DBString;
class DBStringTest extends SapphireTest {
/**
* @covers DBString->forTemplate()
* @covers SilverStripe\Model\FieldType\DBField::forTemplate()
*/
public function testForTemplate() {
$this->assertEquals(
@ -21,7 +21,7 @@ class DBStringTest extends SapphireTest {
}
/**
* @covers DBString->LowerCase()
* @covers SilverStripe\Model\FieldType\DBString::LowerCase()
*/
public function testLowerCase() {
$this->assertEquals(
@ -31,7 +31,7 @@ class DBStringTest extends SapphireTest {
}
/**
* @covers DBString->UpperCase()
* @covers SilverStripe\Model\FieldType\DBString::UpperCase()
*/
public function testUpperCase() {
$this->assertEquals(