mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
API updates.
This commit is contained in:
@@ -228,7 +228,7 @@ abstract class TestCase extends BaseTestCase
|
||||
TransactionCollectorInterface::class,
|
||||
];
|
||||
if (in_array($class, $deprecated, true)) {
|
||||
throw new RuntimeException('Should not be mocking the transaction collector.');
|
||||
throw new RuntimeException(strtoupper('Must not be mocking the transaction collector or transformer.'));
|
||||
}
|
||||
Log::debug(sprintf('Will now mock %s', $class));
|
||||
$object = Mockery::mock($class);
|
||||
|
||||
Reference in New Issue
Block a user