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()