Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHash committed Jun 11, 2020
1 parent 23d187d commit cd8f3e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/Job/JobDefinitionMapTest.php
Expand Up @@ -20,7 +20,8 @@ public function testConstructWithSelf(): void
$jobMap = new JobDefinitionMap(['mock' => $jobMock]);
$newMap = new JobDefinitionMap($jobMap);
$this->assertCount(1, $newMap);
$this->assertFalse($jobMap === $newMap);
$this->assertNotSame($jobMap, $newMap);
$this->assertEquals($jobMap, $newMap);
}

public function testPush(): void
Expand Down
3 changes: 2 additions & 1 deletion tests/Strategy/StrategyMapTest.php
Expand Up @@ -20,7 +20,8 @@ public function testConstructWithSelf(): void
$strategyMap = new JobStrategyMap(['mock' => $strategyMock]);
$newMap = new JobStrategyMap($strategyMap);
$this->assertCount(1, $newMap);
$this->assertFalse($strategyMap === $newMap);
$this->assertNotSame($strategyMap, $newMap);
$this->assertEquals($strategyMap, $newMap);
}

public function testPush(): void
Expand Down
3 changes: 2 additions & 1 deletion tests/Worker/WorkerMapTest.php
Expand Up @@ -20,7 +20,8 @@ public function testConstructWithSelf(): void
$workerMap = new WorkerMap(['mock' => $workerMock]);
$newMap = new WorkerMap($workerMap);
$this->assertCount(1, $newMap);
$this->assertFalse($workerMap === $newMap);
$this->assertNotSame($workerMap, $newMap);
$this->assertEquals($workerMap, $newMap);
}

public function testPush(): void
Expand Down

0 comments on commit cd8f3e1

Please sign in to comment.