mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 09:03:07 +03:00
Removed unused mock
This commit is contained in:
parent
d99ea82761
commit
fe4e171ecb
1 changed files with 0 additions and 3 deletions
|
@ -6,7 +6,6 @@ namespace ShlinkioTest\Shlink\Core\Service;
|
|||
|
||||
use Cake\Chronos\Chronos;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\DBAL\Connection;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Prophecy\Argument;
|
||||
|
@ -40,8 +39,6 @@ class UrlShortenerTest extends TestCase
|
|||
);
|
||||
|
||||
$this->em = $this->prophesize(EntityManagerInterface::class);
|
||||
$conn = $this->prophesize(Connection::class);
|
||||
$this->em->getConnection()->willReturn($conn->reveal());
|
||||
$this->em->persist(Argument::any())->will(function ($arguments): void {
|
||||
/** @var ShortUrl $shortUrl */
|
||||
[$shortUrl] = $arguments;
|
||||
|
|
Loading…
Reference in a new issue