Skip to content

Commit 6c7e4c9

Browse files
authored
🚨 rm irrelevant tests
1 parent 35c8c2e commit 6c7e4c9

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/BrowserlessTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,6 @@ public function test_rotation()
4242
$this->assertNull($bl->getRotation());
4343
}
4444

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-
6545
public function test_timeout()
6646
{
6747
$client = $this->getMockedClient();

0 commit comments

Comments
 (0)