mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Wording in SapphireTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81307 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f3959b038d
commit
4c78f0e3e5
@ -113,8 +113,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
*/
|
||||
protected function idFromFixture($className, $identifier) {
|
||||
if(!$this->fixtures) {
|
||||
user_error("You've called \$this->objFromFixture() but you haven't specified static \$fixture_file.\n" .
|
||||
"Ensure that static \"\$fixture_file = 'module/tests/fixturefile.yml';\" is specified in your " .get_class($this). " class.", E_USER_WARNING);
|
||||
user_error("You've called idFromFixture() but you haven't specified static \$fixture_file.\n", E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -135,8 +134,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
*/
|
||||
protected function allFixtureIDs($className) {
|
||||
if(!$this->fixtures) {
|
||||
user_error("You've called \$this->objFromFixture() but you haven't specified static \$fixture_file.\n" .
|
||||
"Ensure that static \"\$fixture_file = 'module/tests/fixturefile.yml';\" is specified in your " .get_class($this). " class.", E_USER_WARNING);
|
||||
user_error("You've called allFixtureIDs() but you haven't specified static \$fixture_file.\n", E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -155,8 +153,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
*/
|
||||
protected function objFromFixture($className, $identifier) {
|
||||
if(!$this->fixtures) {
|
||||
user_error("You've called \$this->objFromFixture() but you haven't specified static \$fixture_file.\n" .
|
||||
"Ensure that static \"\$fixture_file = 'module/tests/fixturefile.yml';\" is specified in your " .get_class($this). " class.", E_USER_WARNING);
|
||||
user_error("You've called objFromFixture() but you haven't specified static \$fixture_file.\n", E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user