Skip to content

Commit

Permalink
[TASK] Move test because of DI
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal20997 committed Mar 14, 2022
1 parent b2502a2 commit 15fc564
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,30 @@
use JWeiland\Reserve\Domain\Model\Order;
use JWeiland\Reserve\Domain\Model\Period;
use JWeiland\Reserve\Domain\Validation\OrderValidator;
use Nimut\TestingFramework\TestCase\UnitTestCase;
use Nimut\TestingFramework\TestCase\FunctionalTestCase;
use Prophecy\Argument;
use Prophecy\PhpUnit\ProphecyTrait;
use TYPO3\CMS\Extbase\Error\Result;
use TYPO3\CMS\Extbase\SignalSlot\Dispatcher;
use TYPO3\CMS\Extbase\Validation\Error;

/**
* TODO: Rewrite this test to a real functional test!
*
* @testdox The order validator
* @covers JWeiland\Reserve\Domain\Validator\OrderValidator
*/
class OrderValidatorTest extends UnitTestCase
class OrderValidatorTest extends FunctionalTestCase
{
use ProphecyTrait;

/*
* @var array
*/
protected $testExtensionsToLoad = [
'typo3conf/ext/reserve'
];

/**
* @test
*/
Expand Down

0 comments on commit 15fc564

Please sign in to comment.