<?php

namespace Tests\Feature;

use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;

// use Illuminate\Foundation\Testing\DatabaseMigrations;
// use Illuminate\Foundation\Testing\DatabaseTransactions;

class ListingsTest extends TestCase
{
    /**
     * Test to see that the Listings pages load.
     * @dataProvider listingPages
     * @return void
     */
    public function testListingPagesLoadProperly($routeName, $value)
    {
        $this->withoutMiddleware()->get(route($routeName))->assertSee($value);
    }

    public function listingPages()
    {
        return [
            ['machines.index', 'Equipment Inventory - Active'],
            ['modalities.showModalityIndex', 'List equipment by modality'],
            ['locations.showLocationIndex', 'List equipment by location'],
            ['manufacturers.showManufacturerIndex', 'List equipment by manufacturer'],
            ['machines.inactive', 'Equipment Inventory - Inactive'],
            ['machines.removed', 'Equipment Inventory - Removed'],
            ['testequipment.index', 'Equipment Inventory - Test Equipment'],
            ['testequipment.showCalDates', 'Recent Test Equipment Calibration Dates'],
        ];
    }
}

Add some tests to check that listing pages load properly
Add some tests to check that listing pages load properly
