From 4fbfdcd73d52cce4b49650225a8f5a66d6196694 Mon Sep 17 00:00:00 2001 From: lubiana Date: Wed, 2 Apr 2025 19:35:53 +0200 Subject: [PATCH] update foodordertest --- tests/Feature/Controller/FoodOrderControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Feature/Controller/FoodOrderControllerTest.php b/tests/Feature/Controller/FoodOrderControllerTest.php index 322f619..269b1bf 100644 --- a/tests/Feature/Controller/FoodOrderControllerTest.php +++ b/tests/Feature/Controller/FoodOrderControllerTest.php @@ -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); });