3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 06:15:47 +00:00
Files
snipe-it/tests/Support/CanSkipTests.php
2024-04-22 10:32:37 -07:00

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);
}
}
}