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 38d40f4 commit 82b643dCopy full SHA for 82b643d
tests/RouteCoverageTest.php
@@ -3,7 +3,7 @@
3
use Chrysanthos\LaravelOtp\Support\OtpService;
4
5
it('wildcard paths allows all routes', function () {
6
- $service = new OtpService();
+ $service = new OtpService;
7
$this->app['config']->set('otp.paths', ['*']);
8
9
$this->assertTrue($service->shouldCoverRoutePath('/test'));
@@ -13,7 +13,7 @@
13
});
14
15
it('only defined paths are checked', function () {
16
17
$this->app['config']->set('otp.paths', ['/login']);
18
19
$this->assertFalse($service->shouldCoverRoutePath('/test'));
0 commit comments