Skip to content

Commit

Permalink
fix: use asset factory for asset model
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof committed Jul 15, 2023
1 parent 70cf7ac commit 157eb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Models/Assets/CharacterAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
use Seat\Eveapi\Models\Sde\SolarSystem;
use Seat\Eveapi\Models\Universe\UniverseStation;
use Seat\Eveapi\Models\Universe\UniverseStructure;
use Seat\Tests\Eveapi\Database\Factories\CharacterAffiliationFactory;
use Seat\Tests\Eveapi\Database\Factories\CharacterAssetFactory;

#[OA\Schema(
title: 'CharacterAsset',
Expand Down Expand Up @@ -90,7 +90,7 @@ class CharacterAsset extends Model
*/
protected static function newFactory(): Factory
{
return CharacterAffiliationFactory::new();
return CharacterAssetFactory::new();
}

/**
Expand Down

0 comments on commit 157eb81

Please sign in to comment.