We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bc795 commit 689e0eeCopy full SHA for 689e0ee
tests/Integration/Api/ArticleTest.php
@@ -105,7 +105,7 @@
105
$user = $this->createUser();
106
Sanctum::actingAs($user);
107
108
- $article = ArticleFactory::new()->for($user, 'authorRelation')->create();
+ $article = ArticleFactory::new(['is_sponsored' => false])->for($user, 'authorRelation')->create();
109
110
$this->deleteJson(route('api.articles.delete', $article->slug()))
111
->assertNoContent();
0 commit comments