chore: code cleanup with rector and php-cs-fixer
This commit is contained in:
@@ -4,6 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Tests\Service;
|
||||
|
||||
use App\Form\Model\BookingDto;
|
||||
use App\Form\Model\ParticipantDto;
|
||||
use App\BusProNet\Constants;
|
||||
use App\BusProNet\Model\Room;
|
||||
use App\BusProNet\Model\Service;
|
||||
@@ -192,9 +194,9 @@ class BookingConfiguratorStatusTest extends TestCase
|
||||
$travel->dateFrom = new \DateTimeImmutable('2030-01-01');
|
||||
$travel->dateTo = new \DateTimeImmutable('2030-01-06');
|
||||
|
||||
$bookingDto = new \App\Form\Model\BookingDto($travel, 456);
|
||||
$bookingDto = new BookingDto($travel, 456);
|
||||
$bookingDto->bookingStatus = 'F';
|
||||
$participant = new \App\Form\Model\ParticipantDto();
|
||||
$participant = new ParticipantDto();
|
||||
$participant->additionalServices = [new Service()];
|
||||
$bookingDto->participants = [$participant];
|
||||
|
||||
@@ -223,7 +225,7 @@ class BookingConfiguratorStatusTest extends TestCase
|
||||
$travel->dateFrom = new \DateTimeImmutable('2030-01-01');
|
||||
$travel->dateTo = new \DateTimeImmutable('2030-01-06');
|
||||
|
||||
$bookingDto = new \App\Form\Model\BookingDto($travel, 456);
|
||||
$bookingDto = new BookingDto($travel, 456);
|
||||
$bookingDto->bookingStatus = 'A';
|
||||
|
||||
$bookingService->applyCreateBookingStatusRules($bookingDto);
|
||||
|
||||
Reference in New Issue
Block a user