feat: consistent display of included services and prices
This commit is contained in:
@@ -289,7 +289,7 @@ class ParticipantCardDataServiceTest extends TestCase
|
||||
$this->assertEquals('500,00 €', $result[1]['price']);
|
||||
|
||||
// Third participant (no name)
|
||||
$this->assertEquals('Teilnehmer:in 2', $result[2]['name']);
|
||||
$this->assertEquals('Teilnehmer:in', $result[2]['name']);
|
||||
$this->assertEquals('Doppelzimmer', $result[2]['roomName']);
|
||||
$this->assertEquals('480,00 €', $result[2]['price']);
|
||||
}
|
||||
@@ -347,8 +347,8 @@ class ParticipantCardDataServiceTest extends TestCase
|
||||
$result3 = $this->service->getCardData($bookingDto, 2);
|
||||
|
||||
$this->assertEquals('Anmelder:in', $result1['name']);
|
||||
$this->assertEquals('Teilnehmer:in 1', $result2['name']);
|
||||
$this->assertEquals('Teilnehmer:in 2', $result3['name']);
|
||||
$this->assertEquals('Teilnehmer:in', $result2['name']);
|
||||
$this->assertEquals('Teilnehmer:in', $result3['name']);
|
||||
}
|
||||
|
||||
public function testGetCardDataWithValidationReturnsValidCard(): void
|
||||
|
||||
Reference in New Issue
Block a user