|
@@ 66-72 (lines=7) @@
|
| 63 |
|
* @param int $expectedCount |
| 64 |
|
* @param null|string $integration |
| 65 |
|
*/ |
| 66 |
|
public function testGetRunningSyncJobsCount($command, $expectedCount, $integration = null) |
| 67 |
|
{ |
| 68 |
|
$integration = $integration ? $this->getReference($integration)->getId() : null; |
| 69 |
|
$actual = $this->repository->getRunningSyncJobsCount($command, $integration); |
| 70 |
|
|
| 71 |
|
$this->assertEquals($expectedCount, $actual); |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
public function getRunningSyncJobsCountDataProvider() |
| 75 |
|
{ |
|
@@ 100-106 (lines=7) @@
|
| 97 |
|
* @param int $expectedCount |
| 98 |
|
* @param null|string $integration |
| 99 |
|
*/ |
| 100 |
|
public function testGetExistingSyncJobsCount($command, $expectedCount, $integration = null) |
| 101 |
|
{ |
| 102 |
|
$integration = $integration ? $this->getReference($integration)->getId() : null; |
| 103 |
|
$actual = $this->repository->getExistingSyncJobsCount($command, $integration); |
| 104 |
|
|
| 105 |
|
self::assertEquals($expectedCount, $actual); |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
public function getExistingSyncJobsCountDataProvider() |
| 109 |
|
{ |