AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

TestCase.php 420B

12345678910111213141516
  1. <?php
  2. namespace Tests;
  3. use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
  4. use Laravel\Fortify\Features;
  5. abstract class TestCase extends BaseTestCase
  6. {
  7. protected function skipUnlessFortifyHas(string $feature, ?string $message = null): void
  8. {
  9. if (! Features::enabled($feature)) {
  10. $this->markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled.");
  11. }
  12. }
  13. }