mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
1e53f29f33
commit
41a3a86862
@ -11,7 +11,7 @@ use SilverStripe\Model\FieldType\DBString;
|
|||||||
class DBStringTest extends SapphireTest {
|
class DBStringTest extends SapphireTest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers DBString->forTemplate()
|
* @covers SilverStripe\Model\FieldType\DBField::forTemplate()
|
||||||
*/
|
*/
|
||||||
public function testForTemplate() {
|
public function testForTemplate() {
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
@ -21,7 +21,7 @@ class DBStringTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers DBString->LowerCase()
|
* @covers SilverStripe\Model\FieldType\DBString::LowerCase()
|
||||||
*/
|
*/
|
||||||
public function testLowerCase() {
|
public function testLowerCase() {
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
@ -31,7 +31,7 @@ class DBStringTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers DBString->UpperCase()
|
* @covers SilverStripe\Model\FieldType\DBString::UpperCase()
|
||||||
*/
|
*/
|
||||||
public function testUpperCase() {
|
public function testUpperCase() {
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
|
Loading…
Reference in New Issue
Block a user