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 d18e38f6ad2a0..115b262216066 100644
--- a/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php
+++ b/dev/tests/integration/testsuite/Magento/Framework/View/Layout/MergeTest.php
@@ -272,7 +272,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 = <<