create fake implementations for auth and user repo
This commit is contained in:
parent
ee48f578be
commit
2d7ada60fd
2 changed files with 42 additions and 0 deletions
13
tests/Fakes/FakeAuthTokenizer.php
Normal file
13
tests/Fakes/FakeAuthTokenizer.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Fakes;
|
||||
|
||||
use Yisroel\DigiWill\Module\Auth\AuthTokenizer;
|
||||
|
||||
class FakeAuthTokenizer implements AuthTokenizer
|
||||
{
|
||||
public function generateToken(): string
|
||||
{
|
||||
return 'AuthToken';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue