Skip to content

Commit

Permalink
Fix DummyImmutableDateDocument name in DoctrineContext
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Jan 5, 2021
1 parent 3f16394 commit 68c181a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Behat/DoctrineContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyDtoOutputSameClass as DummyDtoOutputSameClassDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyFriend as DummyFriendDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyGroup as DummyGroupDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyImmutableDate as DummyDateImmutableDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyImmutableDate as DummyImmutableDateDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyMercure as DummyMercureDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyOffer as DummyOfferDocument;
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\DummyProduct as DummyProductDocument;
Expand Down Expand Up @@ -1803,11 +1803,11 @@ private function buildDummyDate()
}

/**
* @return DummyImmutableDate|DummyDateImmutableDocument
* @return DummyImmutableDate|DummyImmutableDateDocument
*/
private function buildDummyImmutableDate()
{
return $this->isOrm() ? new DummyImmutableDate() : new DummyDateImmutableDocument();
return $this->isOrm() ? new DummyImmutableDate() : new DummyImmutableDateDocument();
}

/**
Expand Down

0 comments on commit 68c181a

Please sign in to comment.