| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 15 | public function testModelSerialization() |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var TestUser $model |
||
| 19 | */ |
||
| 20 | $model = TestBinaryRoleHex::first(); |
||
| 21 | $this->assertEquals('Foo', $model->name); |
||
| 22 | $job = new TestSingleBinaryKeyJob($model); |
||
|
|
|||
| 23 | $this->dispatch($job); |
||
| 24 | $model->refresh(); |
||
| 25 | $this->assertEquals('Bar', $model->name); |
||
| 26 | } |
||
| 28 |