mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
update tests to use new factories
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Pterodactyl\Models;
|
||||
|
||||
use Pterodactyl\Services\Acl\Api\AdminAcl;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
@@ -18,6 +19,12 @@ use Pterodactyl\Services\Acl\Api\AdminAcl;
|
||||
*/
|
||||
class ApiKey extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The resource name for this model when it is transformed into an
|
||||
* API representation using fractal.
|
||||
*/
|
||||
const RESOURCE_NAME = 'api_key';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user