chore: lint
This commit is contained in:
@@ -5,8 +5,8 @@ declare(strict_types=1);
|
|||||||
namespace App\Rules;
|
namespace App\Rules;
|
||||||
|
|
||||||
use App\Models\Portfolio;
|
use App\Models\Portfolio;
|
||||||
use Illuminate\Support\Carbon;
|
|
||||||
use Illuminate\Contracts\Validation\ValidationRule;
|
use Illuminate\Contracts\Validation\ValidationRule;
|
||||||
|
use Illuminate\Support\Carbon;
|
||||||
|
|
||||||
class QuantityValidationRule implements ValidationRule
|
class QuantityValidationRule implements ValidationRule
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class ApiTokenPermissionsTest extends TestCase
|
|||||||
|
|
||||||
public function test_api_tokens_can_be_deleted(): void
|
public function test_api_tokens_can_be_deleted(): void
|
||||||
{
|
{
|
||||||
|
|
||||||
if (! Features::hasApiFeatures()) {
|
if (! Features::hasApiFeatures()) {
|
||||||
$this->markTestSkipped('API support is not enabled.');
|
$this->markTestSkipped('API support is not enabled.');
|
||||||
}
|
}
|
||||||
@@ -38,6 +39,7 @@ class ApiTokenPermissionsTest extends TestCase
|
|||||||
|
|
||||||
public function test_api_tokens_can_be_created(): void
|
public function test_api_tokens_can_be_created(): void
|
||||||
{
|
{
|
||||||
|
|
||||||
if (! Features::hasApiFeatures()) {
|
if (! Features::hasApiFeatures()) {
|
||||||
$this->markTestSkipped('API support is not enabled.');
|
$this->markTestSkipped('API support is not enabled.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user