Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
60de6a52
Unverified
Commit
60de6a52
authored
Jul 12, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create the settings in the base test
parent
4389a2ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
EloquentMenuRepositoryTest.php
Modules/Menu/Tests/EloquentMenuRepositoryTest.php
+0
-4
No files found.
Modules/Menu/Tests/EloquentMenuRepositoryTest.php
View file @
60de6a52
...
@@ -7,7 +7,6 @@ use Modules\Menu\Events\MenuIsCreating;
...
@@ -7,7 +7,6 @@ use Modules\Menu\Events\MenuIsCreating;
use
Modules\Menu\Events\MenuIsUpdating
;
use
Modules\Menu\Events\MenuIsUpdating
;
use
Modules\Menu\Events\MenuWasCreated
;
use
Modules\Menu\Events\MenuWasCreated
;
use
Modules\Menu\Events\MenuWasUpdated
;
use
Modules\Menu\Events\MenuWasUpdated
;
use
Modules\Setting\Repositories\SettingRepository
;
class
EloquentMenuRepositoryTest
extends
BaseMenuTest
class
EloquentMenuRepositoryTest
extends
BaseMenuTest
{
{
...
@@ -98,9 +97,6 @@ class EloquentMenuRepositoryTest extends BaseMenuTest
...
@@ -98,9 +97,6 @@ class EloquentMenuRepositoryTest extends BaseMenuTest
/** @test */
/** @test */
public
function
it_should_create_root_item_when_creating_new_menu
()
public
function
it_should_create_root_item_when_creating_new_menu
()
{
{
app
(
SettingRepository
::
class
)
->
createOrUpdate
([
'core::locales'
=>
[
'en'
,
'fr'
,]
]);
$menu
=
$this
->
createMenu
(
'main'
,
'Main Menu'
);
$menu
=
$this
->
createMenu
(
'main'
,
'Main Menu'
);
$items
=
$this
->
menuItem
->
allRootsForMenu
(
$menu
->
id
);
$items
=
$this
->
menuItem
->
allRootsForMenu
(
$menu
->
id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment