AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }