Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart-Kuenen-nextapps committed Aug 23, 2023
1 parent 7006dc4 commit be9ce05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Facade/CustomVerificationCodeClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

namespace NextApps\VerificationCode\Tests\Facade;

use NextApps\VerificationCode\VerificationCode as VerificationCodeFacade;
use NextApps\VerificationCode\Models\VerificationCode;
use NextApps\VerificationCode\Tests\TestCase;
use NextApps\VerificationCode\VerificationCode as VerificationCodeFacade;
use RuntimeException;

class CustomVerificationCodeClassTest extends TestCase
{
/** @test */
public function it_returns_the_model_verification_code_class_by_default()
{
$this->assertSame(VerificationCode::class ,VerificationCodeFacade::getModelClass());
$this->assertSame(VerificationCode::class, VerificationCodeFacade::getModelClass());
}

/** @test */
public function it_returns_the_model_class_that_was_set_in_the_config()
{
config()->set('verification-code.model', ModelDoesExtendVerificationCode::class);

$this->assertSame(ModelDoesExtendVerificationCode::class ,VerificationCodeFacade::getModelClass());
$this->assertSame(ModelDoesExtendVerificationCode::class, VerificationCodeFacade::getModelClass());
}

/** @test */
Expand Down

0 comments on commit be9ce05

Please sign in to comment.