update-tests #84
3 changed files with 522 additions and 537 deletions
|
@ -7,8 +7,8 @@
|
||||||
"php": ">=8.4",
|
"php": ">=8.4",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
"api-platform/doctrine-orm": "^4.0",
|
"api-platform/doctrine-orm": "^4.0.0",
|
||||||
"api-platform/symfony": "^4.0",
|
"api-platform/symfony": "4.1.4",
|
||||||
"doctrine/dbal": "^4.1",
|
"doctrine/dbal": "^4.1",
|
||||||
"doctrine/doctrine-bundle": "^2.12",
|
"doctrine/doctrine-bundle": "^2.12",
|
||||||
"doctrine/doctrine-migrations-bundle": "^3.3.1",
|
"doctrine/doctrine-migrations-bundle": "^3.3.1",
|
||||||
|
|
1049
composer.lock
generated
1049
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -100,15 +100,15 @@ describe(FoodOrderController::class, function (): void {
|
||||||
$crawler = $this->client->request('GET', "{$this->path}{$order->getId()}");
|
$crawler = $this->client->request('GET', "{$this->path}{$order->getId()}");
|
||||||
$this->assertResponseIsSuccessful();
|
$this->assertResponseIsSuccessful();
|
||||||
$tdContent = $crawler->filter(
|
$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();
|
)->text();
|
||||||
$this->assertEquals('A', $tdContent);
|
$this->assertEquals('A', $tdContent);
|
||||||
$tdContent = $crawler->filter(
|
$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();
|
)->text();
|
||||||
$this->assertEquals('B', $tdContent);
|
$this->assertEquals('B', $tdContent);
|
||||||
$tdContent = $crawler->filter(
|
$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();
|
)->text();
|
||||||
$this->assertEquals('C', $tdContent);
|
$this->assertEquals('C', $tdContent);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue