We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c8c2e commit 6c7e4c9Copy full SHA for 6c7e4c9
test/BrowserlessTest.php
@@ -42,26 +42,6 @@ public function test_rotation()
42
$this->assertNull($bl->getRotation());
43
}
44
45
- public function test_safeMode()
46
- {
47
- $client = $this->getMockedClient();
48
-
49
- $client->expects($this->once())
50
- ->method('post')
51
- ->with(
52
- $this->anything(),
53
- $this->hasKeyValue(['json', 'safeMode'], $this->isTrue())
54
- )
55
- ->willReturn(new Response());
56
57
- $bl = new Browserless(client: $client);
58
59
- $this->assertFalse($bl->getSafeMode());
60
61
- $bl->setSafeMode(true);
62
- $bl->renderContent('test');
63
- }
64
65
public function test_timeout()
66
{
67
$client = $this->getMockedClient();
0 commit comments