update foodordertest
This commit is contained in:
parent
696760659f
commit
4fbfdcd73d
1 changed files with 3 additions and 3 deletions
|
@ -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