mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update meta files for new release.
This commit is contained in:
@@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
namespace Tests;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Closure;
|
||||
use DB;
|
||||
use Exception;
|
||||
use FireflyIII\Models\Account;
|
||||
@@ -188,11 +189,13 @@ abstract class TestCase extends BaseTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $class
|
||||
* @param string $class
|
||||
*
|
||||
* @param Closure|null $closure
|
||||
*
|
||||
* @return \Mockery\MockInterface
|
||||
*/
|
||||
protected function mock($class): \Mockery\MockInterface
|
||||
protected function mock($class, Closure $closure = null): \Mockery\MockInterface
|
||||
{
|
||||
Log::debug(sprintf('Will now mock %s', $class));
|
||||
$object = Mockery::mock($class);
|
||||
|
||||
Reference in New Issue
Block a user