Skip to content

Commit

Permalink
Fix skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel committed May 16, 2024
1 parent 379a305 commit a682b2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BrowsershotLambda.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function throwError(SettledResult $response): void
throw new ElementNotFound($selector);
}

$response->throw();
$response->throw(2);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/BrowsershotLambdaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
BrowsershotLambda::html('<h1>Hello world!!</h1>')
->select('#does-not-exist')
->bodyHtml();
})->skip()->expectException(LambdaExecutionException::class);
})->expectException(LambdaExecutionException::class);

it('stores screenshot on s3 bucket', function () {
$this->assertFalse(Storage::disk('s3')->exists('example.jpg'));
Expand Down

0 comments on commit a682b2d

Please sign in to comment.