Skip to content

Commit

Permalink
BcFavoriteを全体テストの実行対象に追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
dovanhung committed Oct 30, 2023
1 parent 1c5bc45 commit 693cd64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/bc-favorite/tests/Scenario/FavoritesScenario.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class FavoritesScenario implements FixtureScenarioInterface
public function load(...$args)
{
FavoriteFactory::make([
'id' => 1,
'user_id' => '1',
'name' => '固定ページ管理',
'url' => '/admin/pages/index',
Expand All @@ -39,6 +40,8 @@ public function load(...$args)
'sort' => 2,
])->persist();
FavoriteFactory::make([
'id' => 3,
'user_id' => '1',
'name' => 'お問い合わせ管理',
'url' => '/admin/mail/mail_fields/index/1',
'sort' => 3,
Expand Down

0 comments on commit 693cd64

Please sign in to comment.