We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd7713 commit 5d709b2Copy full SHA for 5d709b2
tests/TestCase.php
@@ -3,6 +3,7 @@
3
namespace RalphJSmit\Laravel\SEO\Tests;
4
5
use Illuminate\Database\Eloquent\Factories\Factory;
6
+use Illuminate\Support\Carbon;
7
use Illuminate\Support\Facades\Schema;
8
use Orchestra\Testbench\TestCase as Orchestra;
9
use RalphJSmit\Laravel\SEO\LaravelSEOServiceProvider;
@@ -16,6 +17,9 @@ protected function setUp(): void
16
17
Factory::guessFactoryNamesUsing(
18
fn (string $modelName) => 'RalphJSmit\\Laravel\\SEO\\Database\\Factories\\' . class_basename($modelName) . 'Factory'
19
);
20
+
21
+ // Freeze the time across entire testsuite...
22
+ Carbon::setTestNow(now());
23
}
24
25
protected function getPackageProviders($app)
0 commit comments