Skip to content

Commit

Permalink
fix: add multiselect field provider
Browse files Browse the repository at this point in the history
  • Loading branch information
KasparRosin committed Jan 8, 2024
1 parent 9314b74 commit 62dce12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ composer.phar
composer.lock
phpunit.xml
.phpunit.result.cache
/.phpunit.cache
.DS_Store
Thumbs.db
1 change: 1 addition & 0 deletions testbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ providers:
- Laravel\Nova\NovaCoreServiceProvider
- Workbench\App\Providers\NovaServiceProvider
- Inertia\ServiceProvider
- Outl1ne\MultiselectField\FieldServiceProvider

migrations:
- workbench/database/migrations
Expand Down
6 changes: 3 additions & 3 deletions tests/Browser/IndexFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Outl1ne\MultiselectField\Tests\Browser;

use Laravel\Dusk\Browser;
use Laravel\Nova\Testing\Browser\Pages\Index;
use Laravel\Nova\Testing\Browser\Pages\Detail;
use Outl1ne\MultiselectField\Tests\BrowserTestCase;
use Workbench\App\Models\User;

Expand All @@ -15,8 +15,8 @@ public function test_index_field()

$this->browse(function (Browser $browser) use ($user) {
$browser->loginAs(1)
->visit('/nova')
->pause(20000);
->visit('/')
->pause(50000);
});
}
}

0 comments on commit 62dce12

Please sign in to comment.