Skip to content
Permalink
Browse files

Fixing a typo and rewording the exception messages

  • Loading branch information...
burzum committed Feb 3, 2016
1 parent 8921661 commit 1964a3abef35a4fae9711bf5985127da16e97c39
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/TestSuite/Fixture/FixtureManager.php
@@ -277,7 +277,7 @@ public function load($test)
try {
$fixture->dropConstraints($db);
} catch (PDOException $e) {
$msg = sprintf('Unable to drop constraints for fixture "%s" for "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
$msg = sprintf('Unable to drop constraints for fixture "%s" in "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
throw new Exception($msg);
}
}
@@ -295,7 +295,7 @@ public function load($test)
try {
$fixture->createConstraints($db);
} catch (PDOException $e) {
$msg = sprintf('Unable to create constriants for fixture "%s" for "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
$msg = sprintf('Unable to create constraints for fixture "%s" in "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
throw new Exception($msg);
}
}
@@ -308,7 +308,7 @@ public function load($test)
try {
$fixture->insert($db);
} catch (PDOException $e) {
$msg = sprintf('Unable to insert fixture "%s" for "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
$msg = sprintf('Unable to insert fixture "%s" in "%s" test case: ' . "\n" . '%s', get_class($fixture), get_class($test), $e->getMessage());
throw new Exception($msg);
}
}

0 comments on commit 1964a3a

Please sign in to comment.
You can’t perform that action at this time.