diff --git a/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php b/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php
index 3ba43f7142e82..4a29c3e3f3de6 100644
--- a/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php
+++ b/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php
@@ -273,7 +273,16 @@ public function testLoadCache()
         $handles = ['fixture_handle_one', 'fixture_handle_two'];
         $this->_model->load($handles);
         $this->assertEquals($handles, $this->_model->getHandles());
-        $this->assertEquals(self::FIXTURE_LAYOUT_XML, $this->_model->asString());
+        $expectedResult = <<