Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Feb 25, 2024
1 parent 182667a commit 81069d1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 34 deletions.
43 changes: 43 additions & 0 deletions tests/Authenticated.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php

namespace LaravelSabre\Tests;

use Illuminate\Contracts\Auth\Authenticatable;

class Authenticated implements Authenticatable
{
public $email;

public function getAuthIdentifierName()
{
return 'Identifier name';
}

public function getAuthIdentifier()
{
return 'auth-identifier';
}

public function getAuthPasswordName()
{
return 'password';
}

public function getAuthPassword()
{
return 'secret';
}

public function getRememberToken()
{
return 'token';
}

public function setRememberToken($value)
{
}

public function getRememberTokenName()
{
}
}
34 changes: 0 additions & 34 deletions tests/FeatureTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace LaravelSabre\Tests;

use Illuminate\Contracts\Auth\Authenticatable;
use LaravelSabre\LaravelSabreServiceProvider;
use Orchestra\Testbench\TestCase;

Expand Down Expand Up @@ -50,36 +49,3 @@ class_alias('\Illuminate\Foundation\Testing\TestResponse', '\Illuminate\Testing\
}
}
}

class Authenticated implements Authenticatable
{
public $email;

public function getAuthIdentifierName()
{
return 'Identifier name';
}

public function getAuthIdentifier()
{
return 'auth-identifier';
}

public function getAuthPassword()
{
return 'secret';
}

public function getRememberToken()
{
return 'token';
}

public function setRememberToken($value)
{
}

public function getRememberTokenName()
{
}
}

0 comments on commit 81069d1

Please sign in to comment.