json-api-server/tests/feature/FieldFiltersTest.php

60 lines
1.3 KiB
PHP

<?php
/*
* This file is part of tobyz/json-api-server.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tobyz\Tests\JsonApiServer\feature;
use Tobyz\Tests\JsonApiServer\AbstractTestCase;
class FieldFiltersTest extends AbstractTestCase
{
public function setUp(): void
{
}
public function test_resources_can_be_filtered_by_id()
{
$this->markTestIncomplete();
}
public function test_attributes_are_not_filterable_by_default()
{
$this->markTestIncomplete();
}
public function test_attributes_can_be_explicitly_not_filterable()
{
$this->markTestIncomplete();
}
public function test_attributes_can_be_filterable_by_their_value()
{
$this->markTestIncomplete();
}
public function test_attributes_can_be_filterable_with_custom_logic()
{
$this->markTestIncomplete();
}
public function test_attributes_filterable_callback_receives_correct_parameters()
{
$this->markTestIncomplete();
}
// to_one, to_many...
public function test_types_can_have_custom_filters()
{
$this->markTestIncomplete();
}
}