File tree 2 files changed +3
-0
lines changed
lib/internal/Magento/Framework/View
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ class Config
127
127
'description ' => null ,
128
128
'keywords ' => null ,
129
129
'robots ' => null ,
130
+ 'title ' => null ,
130
131
];
131
132
132
133
/**
Original file line number Diff line number Diff line change @@ -141,8 +141,10 @@ public function testMetadata()
141
141
'robots ' => null ,
142
142
'name ' => 'test_value ' ,
143
143
'html_encoded ' => '<title><span class="test">Test</span></title> ' ,
144
+ 'title ' => 'metatitle '
144
145
];
145
146
$ this ->model ->setMetadata ('name ' , 'test_value ' );
147
+ $ this ->model ->setMetadata ('title ' , 'metatitle ' );
146
148
$ this ->model ->setMetadata ('html_encoded ' , '<title><span class="test">Test</span></title> ' );
147
149
$ this ->assertEquals ($ expectedMetadata , $ this ->model ->getMetadata ());
148
150
}
You can’t perform that action at this time.
0 commit comments