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

40 lines
839 B
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 FieldValidationTest extends AbstractTestCase
{
public function setUp(): void
{
}
public function test_attributes_can_define_multiple_validators()
{
$this->markTestIncomplete();
}
public function test_attribute_validators_receive_correct_parameters()
{
$this->markTestIncomplete();
}
public function test_attribute_validation_errors_contain_correct_information()
{
$this->markTestIncomplete();
}
// to_one, to_many...
}