Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function testInsertInvalidationEventWithAssociations(): void |
||
30 | { |
||
31 | // Mock DB insert |
||
32 | DB::shouldReceive('table->insertGetId')->once()->andReturn(1); |
||
33 | DB::shouldReceive('table->insert')->once(); |
||
34 | |||
35 | $this->helper->insertInvalidationEvent( |
||
36 | 'tag', |
||
37 | 'article_ID:7', |
||
38 | 'Article 7 removed', |
||
39 | 0, |
||
40 | [ |
||
41 | ['type' => 'tag', 'identifier' => 'plp:sport'], |
||
42 | ] |
||
48 |