Skip to content

Commit 376ca3b

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent c27d3a1 commit 376ca3b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Composer
2-
/artifacts/*
32
/vendor/*
43
/composer.lock
54
/auth.json

artifacts/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
3333
}
3434
},
3535
"repositories": [
36-
{
37-
"type": "artifact",
38-
"url": "artifacts"
39-
}
36+
{ "type": "artifact", "url": "artifacts" },
37+
{ "type": "composer", "url": "https://nova.laravel.com" }
4038
],
4139
"config": {
4240
"sort-packages": true,

tests/Feature/DevToolTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<?php
22

33
use Laravel\Nova\DevTool\DevTool;
4+
use Workbench\App;
45

56
it('can detect resources within workbench', function () {
67
DevTool::resourcesInWorkbench();
78

89
expect(DevTool::resourceCollection()->all())
910
->toBeArray()
1011
->toBe([
11-
\Workbench\App\Nova\User::class,
12+
App\Nova\User::class,
1213
]);
1314
});

0 commit comments

Comments
 (0)