Skip to content

Commit c106135

Browse files
committed
remove not needed tests.
1 parent bdd3cc8 commit c106135

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

Tests/RunCommandProcessorTest.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
namespace Enqueue\AsyncCommand\Tests;
44

5-
use Enqueue\AsyncCommand\Commands;
65
use Enqueue\AsyncCommand\RunCommandProcessor;
7-
use Enqueue\Client\CommandSubscriberInterface;
86
use Interop\Queue\Processor;
97
use PHPUnit\Framework\TestCase;
108

@@ -17,13 +15,6 @@ public function testShouldImplementProcessorInterface()
1715
$this->assertTrue($rc->implementsInterface(Processor::class));
1816
}
1917

20-
public function testShouldImplementCommandSubscriberInterfaceInterface()
21-
{
22-
$rc = new \ReflectionClass(RunCommandProcessor::class);
23-
24-
$this->assertTrue($rc->implementsInterface(CommandSubscriberInterface::class));
25-
}
26-
2718
public function testShouldBeFinal()
2819
{
2920
$rc = new \ReflectionClass(RunCommandProcessor::class);
@@ -37,16 +28,4 @@ public function testCouldBeConstructedWithProjectDirAsFirstArgument()
3728

3829
$this->assertAttributeSame('aProjectDir', 'projectDir', $processor);
3930
}
40-
41-
public function testShouldSubscribeOnRunCommand()
42-
{
43-
$subscription = RunCommandProcessor::getSubscribedCommand();
44-
45-
$this->assertSame([
46-
'command' => Commands::RUN_COMMAND,
47-
'queue' => Commands::RUN_COMMAND,
48-
'prefix_queue' => false,
49-
'exclusive' => true,
50-
], $subscription);
51-
}
5231
}

0 commit comments

Comments
 (0)