mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Testing cleanup (#11677)
All tests use transactions One test isn't a db test...
This commit is contained in:
@@ -28,9 +28,12 @@ namespace LibreNMS\Tests;
|
||||
use App\Models\ApiToken;
|
||||
use App\Models\Device;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
|
||||
class BasicApiTest extends DBTestCase
|
||||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
public function testListDevices()
|
||||
{
|
||||
$user = factory(User::class)->state('admin')->create();
|
||||
|
||||
Reference in New Issue
Block a user