Skip to content

Commit b8570b6

Browse files
committed
Fix remove this unnecessary shitty test
1 parent 2426705 commit b8570b6

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

tests/Terremoth/AsyncTest/ProcessTest.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
/**
1313
* @covers \Terremoth\Async\Process
14+
* @covers \Terremoth\Async\PhpFile
1415
*/
1516
class ProcessTest extends TestCase
1617
{
@@ -74,18 +75,6 @@ public function testSendActuallyWritesSerializedClosureToShmop(): void
7475
// shmop_close($shmop); // deprecated
7576
}
7677

77-
public function testSendThrowsWhenShmopCannotBeCreated(): void
78-
{
79-
$badKey = -1; // impossible key
80-
81-
$process = new Process($badKey);
82-
83-
$this->expectException(Exception::class);
84-
85-
$process->send(function () {
86-
});
87-
}
88-
8978
/**
9079
* @throws RandomException|Exception
9180
*/

0 commit comments

Comments
 (0)