From 6fcbcfa862d7a5144d18f146207c0321ceb32a00 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 6 Dec 2024 13:20:26 +0100 Subject: [PATCH] Update test to be forgiving for system filesystem orders --- packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php b/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php index 3c109d7473b..43634844a79 100644 --- a/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php +++ b/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php @@ -135,7 +135,7 @@ public function testGetElementsByClassTypes() $this->assertInstanceOf(Collection::class, $collection); $this->assertContainsOnlyInstancesOf(TestableHtmlElement::class, $collection); - $this->assertSame(['Foo', 'Bar'], $collection->map->text->all()); + $this->assertEquals(['Foo', 'Bar'], $collection->map->text->all()); } public function testGetElementsByClassWithChildNodes()