Compare commits

..

2 commits
0.3.4 ... main

Author SHA1 Message Date
0e26487156
bump deps
All checks were successful
/ ls (pull_request) Successful in 1m31s
/ ls (push) Successful in 1m30s
/ ls (release) Successful in 58s
2025-04-04 22:06:46 +02:00
4fbfdcd73d
update foodordertest 2025-04-02 19:35:53 +02:00
3 changed files with 522 additions and 537 deletions

View file

@ -7,8 +7,8 @@
"php": ">=8.4",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/doctrine-orm": "^4.0",
"api-platform/symfony": "^4.0",
"api-platform/doctrine-orm": "^4.0.0",
"api-platform/symfony": "4.1.4",
"doctrine/dbal": "^4.1",
"doctrine/doctrine-bundle": "^2.12",
"doctrine/doctrine-migrations-bundle": "^3.3.1",

1049
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -100,15 +100,15 @@ describe(FoodOrderController::class, function (): void {
$crawler = $this->client->request('GET', "{$this->path}{$order->getId()}");
$this->assertResponseIsSuccessful();
$tdContent = $crawler->filter(
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(2)'
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(3)'
)->text();
$this->assertEquals('A', $tdContent);
$tdContent = $crawler->filter(
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(2)'
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(3)'
)->text();
$this->assertEquals('B', $tdContent);
$tdContent = $crawler->filter(
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(2)'
'table.table:nth-child(6) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(3)'
)->text();
$this->assertEquals('C', $tdContent);
});