Skip to content

Commit

Permalink
Rename browser tests to be consitent.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaeljorhult committed Feb 8, 2024
1 parent 869f0dd commit a73aedb
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion tests/Browser/Bookings/BookingsCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BookingsCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBookingsEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Bookings/BookingsEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BookingsEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBookingsCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$booking = Booking::factory()->create();

Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Bookings/BookingsIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BookingsIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBookingsIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Buckets/BucketsCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class BucketsCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBucketsCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Buckets/BucketsEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class BucketsEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBucketsEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$bucket = Bucket::factory()->create();

Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Buckets/BucketsIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BucketsIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testBucketsIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Categories/CategoriesCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CategoriesCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testCategoriesCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Categories/CategoriesEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CategoriesEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testCategoriesEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$category = Category::factory()->create();

Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Categories/CategoriesIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CategoriesIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testCategoriesIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Groups/GroupsCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GroupsCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testGroupsCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Groups/GroupsEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GroupsEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testGroupsEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$group = Group::factory()->create();

Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Groups/GroupsIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GroupsIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testGroupsIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Resources/ResourcesCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ResourcesCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testResourcesCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Resources/ResourcesEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ResourcesEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testResourcesEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$resource = Resource::factory()->create();

Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Resources/ResourcesIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ResourcesIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testResourcesIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Users/UsersCreateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class UsersCreateTest extends DuskTestCase
{
use DatabaseMigrations;

public function testUsersCreateIsReachable(): void
public function testCreateRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/Users/UsersEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class UsersEditTest extends DuskTestCase
{
use DatabaseMigrations;

public function testUsersEditIsReachable(): void
public function testEditRouteIsReachable(): void
{
$user = User::factory()->create();

Expand Down
4 changes: 1 addition & 3 deletions tests/Browser/Users/UsersIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Tests\Browser\Users;

use App\Models\Bucket;
use App\Models\Resource;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
Expand All @@ -13,7 +11,7 @@ class UsersIndexTest extends DuskTestCase
{
use DatabaseMigrations;

public function testUsersIndexIsReachable(): void
public function testIndexRouteIsReachable(): void
{
$this->browse(function (Browser $browser) {
$browser
Expand Down

0 comments on commit a73aedb

Please sign in to comment.