Skip to content

Commit 238ca20

Browse files
committed
Removing constructor tests
Removing all tests that creates a new instance but doesn't call any methods nor preform any assertions.
1 parent fcab5c1 commit 238ca20

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

Tests/GearmanContextTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ public function testShouldImplementContextInterface()
2424
$this->assertClassImplements(Context::class, GearmanContext::class);
2525
}
2626

27-
/**
28-
* @doesNotPerformAssertions
29-
*/
30-
public function testCouldBeConstructedWithConnectionConfigAsFirstArgument()
31-
{
32-
new GearmanContext(['host' => 'aHost', 'port' => 'aPort']);
33-
}
34-
3527
public function testThrowNotImplementedOnCreateTemporaryQueue()
3628
{
3729
$context = new GearmanContext(['host' => 'aHost', 'port' => 'aPort']);

Tests/GearmanProducerTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ class GearmanProducerTest extends TestCase
1818
use ClassExtensionTrait;
1919
use SkipIfGearmanExtensionIsNotInstalledTrait;
2020

21-
/**
22-
* @doesNotPerformAssertions
23-
*/
24-
public function testCouldBeConstructedWithGearmanClientAsFirstArgument()
25-
{
26-
new GearmanProducer($this->createGearmanClientMock());
27-
}
28-
2921
public function testThrowIfDestinationInvalid()
3022
{
3123
$producer = new GearmanProducer($this->createGearmanClientMock());

0 commit comments

Comments
 (0)