|
@@ 130-138 (lines=9) @@
|
| 127 |
|
$this->assertEquals($execution->getUuid(), $result->getUuid()); |
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
public function testFindByTask() |
| 131 |
|
{ |
| 132 |
|
$execution = $this->save(); |
| 133 |
|
|
| 134 |
|
$result = $this->taskExecutionRepository->findByTask($execution->getTask()); |
| 135 |
|
|
| 136 |
|
$this->assertCount(1, $result); |
| 137 |
|
$this->assertEquals($execution->getTask()->getUuid(), $result[0]->getTask()->getUuid()); |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
public function testFindByTaskUuid() |
| 141 |
|
{ |
|
@@ 140-148 (lines=9) @@
|
| 137 |
|
$this->assertEquals($execution->getTask()->getUuid(), $result[0]->getTask()->getUuid()); |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
public function testFindByTaskUuid() |
| 141 |
|
{ |
| 142 |
|
$execution = $this->save(); |
| 143 |
|
|
| 144 |
|
$result = $this->taskExecutionRepository->findByTaskUuid($execution->getTask()->getUuid()); |
| 145 |
|
|
| 146 |
|
$this->assertCount(1, $result); |
| 147 |
|
$this->assertEquals($execution->getTask()->getUuid(), $result[0]->getTask()->getUuid()); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
public function testFindScheduledPast() |
| 151 |
|
{ |