Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function testGetter(): void |
||
30 | { |
||
31 | $ref = new PrePush('refs/heads/main', '12345', 'main'); |
||
32 | |||
33 | $this->assertEquals('refs/heads/main', $ref->head()); |
||
34 | $this->assertEquals('12345', $ref->hash()); |
||
35 | $this->assertEquals('main', $ref->branch()); |
||
36 | $this->assertEquals('12345', $ref->id()); |
||
37 | } |
||
39 |