3cf19d8656
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io). --- For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
24 lines
494 B
PHP
24 lines
494 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use App\Services\Repositories\UserRepository;
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
|
|
class UserRepositoryTest extends TestCase
|
|
{
|
|
use DatabaseTransactions;
|
|
|
|
public function testHas()
|
|
{
|
|
$repo = new UserRepository();
|
|
$this->assertFalse($repo->has('not_found', 'invalid'));
|
|
}
|
|
|
|
public function testGet()
|
|
{
|
|
$repo = new UserRepository();
|
|
$this->assertNull($repo->get('not_found', 'username'));
|
|
}
|
|
}
|