Skip to content
Permalink
Browse files

Merge pull request #57 from ergebnis/fix/skip

Fix: Remove condition that always evaluates to false
  • Loading branch information
localheinz committed Mar 16, 2020
2 parents e4ac3df + e0637f3 commit 4550d0e63e12501957e5d464b8616d9ca00e316a
Showing with 0 additions and 12 deletions.
  1. +0 −12 test/Integration/FixtureFactoryTest.php
@@ -13,7 +13,6 @@

namespace Ergebnis\FactoryBot\Test\Integration;

use Doctrine\ORM\Mapping;
use Ergebnis\FactoryBot\FieldDef;
use Ergebnis\FactoryBot\FixtureFactory;
use Ergebnis\FactoryBot\Test\Fixture;
@@ -73,17 +72,6 @@ public function testDoesNotPersistByDefault(): void

public function testDoesNotPersistEmbeddableWhenAutomaticPersistingIsTurnedOn(): void
{
$mappingClasses = [
Mapping\Embeddable::class,
Mapping\Embedded::class,
];

foreach ($mappingClasses as $mappingClass) {
if (!\class_exists($mappingClass)) {
self::markTestSkipped('Doctrine Embeddable feature not available');
}
}

$entityManager = self::createEntityManager();

$fixtureFactory = new FixtureFactory($entityManager);

0 comments on commit 4550d0e

Please sign in to comment.
You can’t perform that action at this time.