Replaced monolog-cascade by MonologFactory

This commit is contained in:
Alejandro Celaya
2019-11-30 17:59:04 +01:00
parent e558bb17cb
commit cf3d763731
7 changed files with 75 additions and 83 deletions

View File

@@ -12,7 +12,7 @@ use Symfony\Component\Console\Application;
use Symfony\Component\Console\Helper\ProcessHelper;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Tester\CommandTester;
use Symfony\Component\Lock\Factory as Locker;
use Symfony\Component\Lock\LockFactory;
use Symfony\Component\Lock\LockInterface;
use Symfony\Component\Process\PhpExecutableFinder;
@@ -25,7 +25,7 @@ class MigrateDatabaseCommandTest extends TestCase
public function setUp(): void
{
$locker = $this->prophesize(Locker::class);
$locker = $this->prophesize(LockFactory::class);
$lock = $this->prophesize(LockInterface::class);
$lock->acquire(Argument::any())->willReturn(true);
$lock->release()->will(function () {