From 030c653b3238bfb0a5eba176d5ab36900330e785 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 10 Jul 2026 17:51:30 +0530 Subject: [PATCH] test: cast sites allowlist assertion message for Rector Co-authored-by: Cursor --- tests/e2e/Services/Sites/SitesCustomServerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Sites/SitesCustomServerTest.php b/tests/e2e/Services/Sites/SitesCustomServerTest.php index d028beb79c..88e50ec7b4 100644 --- a/tests/e2e/Services/Sites/SitesCustomServerTest.php +++ b/tests/e2e/Services/Sites/SitesCustomServerTest.php @@ -148,7 +148,7 @@ final class SitesCustomServerTest extends Scope $this->assertEquals(400, $site['headers']['status-code']); $this->assertEquals('general_argument_invalid', $site['body']['type']); - $this->assertStringContainsString('Runtime "node-24" is not supported', $site['body']['message']); + $this->assertStringContainsString('Runtime "node-24" is not supported', (string) $site['body']['message']); $this->cleanupSite($siteId); }