Skip to content

Commit 41f6deb

Browse files
authored
Fix storing page source to disk when source assertions fail. (#976)
1 parent 56bff97 commit 41f6deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Concerns/ProvidesBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ protected function storeConsoleLogsFor($browsers)
174174
protected function storeSourceLogsFor($browsers)
175175
{
176176
$browsers->each(function ($browser, $key) {
177-
if (property_exists($browser, 'makesSourceAssertion') &&
178-
$browser->makesSourceAssertion) {
177+
if (property_exists($browser, 'madeSourceAssertion') &&
178+
$browser->madeSourceAssertion) {
179179
$browser->storeSource($this->getCallerName().'-'.$key);
180180
}
181181
});

0 commit comments

Comments
 (0)