fix: ensure pickups node exists in api payload
This commit is contained in:
@@ -138,7 +138,8 @@ class BookingDataProcessorTest extends TestCase
|
||||
|
||||
$result = $this->processor->createUpdateRequestPayload($formData);
|
||||
|
||||
$this->assertArrayNotHasKey('zustiege', $result);
|
||||
$this->assertArrayHasKey('zustiege', $result);
|
||||
$this->assertSame([], $result['zustiege']);
|
||||
}
|
||||
|
||||
public function testUnusedServicesAreRemoved(): void
|
||||
@@ -241,7 +242,8 @@ class BookingDataProcessorTest extends TestCase
|
||||
|
||||
$result = $this->processor->createUpdateRequestPayload($formData);
|
||||
|
||||
$this->assertArrayNotHasKey('zustiege', $result);
|
||||
$this->assertArrayHasKey('zustiege', $result);
|
||||
$this->assertSame([], $result['zustiege']);
|
||||
}
|
||||
|
||||
private function createCompleteFormData(): BookingDto
|
||||
|
||||
Reference in New Issue
Block a user