File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
dev/tests/integration/testsuite/Magento/Framework/View/Page/Config/Reader Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11<?php
2-
2+ /**
3+ * Copyright © 2015 Magento. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
36namespace Magento \Framework \View \Page \Config \Reader ;
47
5-
68class HtmlTest extends \PHPUnit_Framework_TestCase
79{
810 public function testInterpret ()
@@ -18,8 +20,8 @@ public function testInterpret()
1820 foreach ($ pageXml ->xpath ('html ' ) as $ htmlElement ) {
1921 $ html ->interpret ($ readerContext , $ htmlElement , $ parentElement );
2022 }
21-
23+
2224 $ structure = $ readerContext ->getPageConfigStructure ();
2325 $ this ->assertEquals (['html ' => ['test-name ' => 'test-value ' ]], $ structure ->getElementAttributes ());
2426 }
25- }
27+ }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2+ <!--
3+ /**
4+ * Copyright © 2015 Magento. All rights reserved.
5+ * See COPYING.txt for license details.
6+ */
7+ -->
28<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd" >
39 <html >
410 <attribute name =" test-name" value =" test-value" />
You can’t perform that action at this time.
0 commit comments