From a525dd9030a0fd4ec707e47a990a2ef0c7ba0b74 Mon Sep 17 00:00:00 2001 From: BrainFooLong Date: Thu, 11 Apr 2024 15:37:32 +0200 Subject: [PATCH] fixed test after response change --- appdata/modules/FramelixTests/tests/Network/ResponseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdata/modules/FramelixTests/tests/Network/ResponseTest.php b/appdata/modules/FramelixTests/tests/Network/ResponseTest.php index 3c139af..d7b8975 100644 --- a/appdata/modules/FramelixTests/tests/Network/ResponseTest.php +++ b/appdata/modules/FramelixTests/tests/Network/ResponseTest.php @@ -52,7 +52,7 @@ public function tests(): void }, [], StopExecution::class); Buffer::$startBufferIndex = $oldIndex; $this->assertSame(200, http_response_code()); - $this->assertSame('{"toastMessages":[],"errorMessages":{"test":"Error"},"buffer":""}', Buffer::get()); + $this->assertSame('{"toastMessages":[],"errorMessages":{"test":"Error"},"content":""}', Buffer::get()); FileUtils::deleteDirectory(FileUtils::getUserdataFilepath("storablefile", true)); }