mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 09:34:59 +00:00
fix cs
This commit is contained in:
@@ -57,7 +57,7 @@ YAML;
|
|||||||
$emProphecy = $this->prophesize(EntityManagerInterface::class);
|
$emProphecy = $this->prophesize(EntityManagerInterface::class);
|
||||||
// persist should be called for StoredObject and Motive at least once
|
// persist should be called for StoredObject and Motive at least once
|
||||||
$emProphecy->persist(Argument::type(StoredObject::class))->shouldBeCalled();
|
$emProphecy->persist(Argument::type(StoredObject::class))->shouldBeCalled();
|
||||||
$emProphecy->persist(Argument::that(fn($arg) =>
|
$emProphecy->persist(Argument::that(fn ($arg) =>
|
||||||
// Motive class is in another namespace; just check it's an object with setLabel method
|
// Motive class is in another namespace; just check it's an object with setLabel method
|
||||||
\is_object($arg) && method_exists($arg, 'setLabel')))->shouldBeCalled();
|
\is_object($arg) && method_exists($arg, 'setLabel')))->shouldBeCalled();
|
||||||
$emProphecy->flush()->shouldBeCalled();
|
$emProphecy->flush()->shouldBeCalled();
|
||||||
|
Reference in New Issue
Block a user