mirror of https://github.com/kcal-app/kcal.git
30 lines
533 B
PHP
30 lines
533 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\JsonApi;
|
|
|
|
use App\Models\IngredientAmount;
|
|
use Database\Factories\IngredientAmountFactory;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
|
|
class IngredientAmountApiTest extends JsonApiTestCase
|
|
{
|
|
use RefreshDatabase;
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function factory(): IngredientAmountFactory
|
|
{
|
|
return IngredientAmount::factory();
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function resourceName(): string
|
|
{
|
|
return 'ingredient-amounts';
|
|
}
|
|
|
|
}
|