mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
14 lines
286 B
PHP
14 lines
286 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Support;
|
||
|
|
||
|
trait CanSkipTests
|
||
|
{
|
||
|
public function markIncompleteIfMySQL($message = 'Test skipped due to database driver being MySQL.')
|
||
|
{
|
||
|
if (config('database.default') === 'mysql') {
|
||
|
$this->markTestIncomplete($message);
|
||
|
}
|
||
|
}
|
||
|
}
|