We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | public function testDelete() | ||
| 15 |     { | ||
| 16 |         $this->markTestIncomplete('Not correctly implemented'); | ||
| 17 | |||
| 18 | $this->crudPanel->setModel(Article::class); | ||
| 19 | $article = Article::find(1); | ||
| 20 | |||
| 21 | $wasDeleted = $this->crudPanel->delete($article->id); | ||
| 22 | |||
| 23 | // TODO: the delete method should not convert the returned result to a string | ||
| 24 | $deletedArticle = Article::find(1); | ||
| 25 | $this->assertTrue($wasDeleted); | ||
| 26 | $this->assertNull($deletedArticle); | ||
| 27 | } | ||
| 45 |