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 a6a6f30 commit 3825635Copy full SHA for 3825635
tests/MenuBar/MenuBarTest.php
@@ -1,7 +1,7 @@
1
<?php
2
3
+use Native\Laravel\Facades\Menu;
4
use Native\Laravel\Facades\MenuBar;
-use Native\Laravel\Menu\Menu;
5
6
it('menubar with create', function () {
7
config()->set('nativephp-internal.api_url', 'https://jsonplaceholder.typicode.com/todos/1');
@@ -13,7 +13,10 @@
13
->icon('nativephp.png')
14
->url('https://github.com/milwad-dev')
15
->withContextMenu(
16
- Menu::new()->label('My Application')->quit(),
+ Menu::make(
17
+ Menu::label('My Application'),
18
+ Menu::quit(),
19
+ ),
20
);
21
$menuBarArray = $menuBar->toArray();
22
0 commit comments