@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use Codeliner\CargoBackend\Application\Booking\BookingService; |
| 14 | 14 | use Codeliner\CargoBackend\Application\Booking\Dto\RouteCandidateDto; |
| 15 | -use Codeliner\CargoBackend\Model\Cargo\TrackingId; |
|
| 16 | 15 | use Psr\Http\Message\ResponseInterface; |
| 17 | 16 | use Psr\Http\Message\ServerRequestInterface; |
| 18 | 17 | use Zend\Diactoros\Response\EmptyResponse; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @return \DateTimeImmutable |
|
| 76 | + * @return \DateTime |
|
| 77 | 77 | */ |
| 78 | 78 | public function loadTime() |
| 79 | 79 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @return \DateTimeImmutable |
|
| 84 | + * @return \DateTime |
|
| 85 | 85 | */ |
| 86 | 86 | public function unloadTime() |
| 87 | 87 | { |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | use Codeliner\CargoBackend\Model\Cargo\Itinerary; |
| 12 | 12 | use CodelinerTest\CargoBackend\Fixture\LegFixture; |
| 13 | 13 | use CodelinerTest\CargoBackend\TestCase; |
| 14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 15 | -use Codeliner\CargoBackend\Model\Cargo\Leg; |
|
| 16 | 14 | /** |
| 17 | 15 | * Class ItineraryTest |
| 18 | 16 | * |
@@ -72,6 +72,9 @@ |
||
| 72 | 72 | return $this->entityManager; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $entityNameOrNamespace |
|
| 77 | + */ |
|
| 75 | 78 | public function createEntitySchema($entityNameOrNamespace, $pathToEntityDir = null) |
| 76 | 79 | { |
| 77 | 80 | if (!is_null($pathToEntityDir)) { |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | * Initializes context. |
| 33 | 33 | * Every scenario gets it's own context object. |
| 34 | 34 | * |
| 35 | - * @param array $parameters context parameters (set them up through behat.yml) |
|
| 36 | 35 | */ |
| 37 | 36 | public function __construct() |
| 38 | 37 | { |
@@ -1,15 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Codeliner\CargoFeature; |
| 3 | 3 | |
| 4 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
| 5 | - Behat\Behat\Context\TranslatedContextInterface, |
|
| 6 | - Behat\Behat\Context\BehatContext, |
|
| 7 | - Behat\Behat\Exception\PendingException; |
|
| 8 | -use Behat\Gherkin\Node\PyStringNode, |
|
| 9 | - Behat\Gherkin\Node\TableNode; |
|
| 10 | 4 | use Behat\MinkExtension\Context\MinkContext; |
| 11 | -use Zend\Mvc\Application; |
|
| 12 | -use Zend\ServiceManager\ServiceManager; |
|
| 13 | 5 | |
| 14 | 6 | // |
| 15 | 7 | // Require 3rd-party libraries here: |