File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/PageCache/Test/Unit/Observer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function testExecute(
151
151
->method ('isScopePrivate ' )
152
152
->willReturn ($ scopeIsPrivate );
153
153
}
154
- $ this ->_configMock ->expects ($ this ->any ())->method ('getType ' )->willReturn ($ varnishIsEnabled );
154
+ $ this ->_configMock ->expects ($ this ->any ())->method ('getType ' )->willReturn (Config:: VARNISH );
155
155
}
156
156
$ this ->_model ->execute ($ this ->_observerMock );
157
157
@@ -210,7 +210,7 @@ public function testExecuteWithBase64Encode()
210
210
->method ('getNameInLayout ' )
211
211
->willReturn ('testBlockName ' );
212
212
213
- $ this ->_configMock ->expects ($ this ->any ())->method ('getType ' )->willReturn (true );
213
+ $ this ->_configMock ->expects ($ this ->any ())->method ('getType ' )->willReturn (Config:: VARNISH );
214
214
215
215
$ this ->_model ->execute ($ this ->_observerMock );
216
216
You can’t perform that action at this time.
0 commit comments