mirror of https://github.com/kcal-app/kcal.git
Update test names to match general stlye
This commit is contained in:
parent
0bcd489db1
commit
6e9dc6472b
|
|
@ -26,7 +26,7 @@ class FoodApiTest extends JsonApiTestCase
|
|||
return 'foods';
|
||||
}
|
||||
|
||||
public function testSearchFilter(): void {
|
||||
public function testCanUseSearchFilter(): void {
|
||||
$attributes = [
|
||||
'name' => 'Popcorn',
|
||||
'detail' => 'buttered',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class RecipeApiTest extends JsonApiTestCase
|
|||
return 'recipes';
|
||||
}
|
||||
|
||||
public function testSearchFilter(): void {
|
||||
public function testCanUseSearchFilter(): void {
|
||||
$attributes = [
|
||||
'name' => 'Chocolate Chip Cookies',
|
||||
'description' => 'Buttery, delicious cookies.',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class TagApiTest extends JsonApiTestCase
|
|||
return 'tags';
|
||||
}
|
||||
|
||||
public function testNameFilter(): void {
|
||||
public function testCanUseNameFilter(): void {
|
||||
$names = ['sweet', 'salty', 'spicy'];
|
||||
foreach ($names as $name) {
|
||||
$this->factory()->create(['name' => $name]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue