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

50 lines
1.1 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 FieldDefaultValuesTest extends AbstractTestCase
{
public function setUp(): void
{
}
public function test_attributes_have_no_default_value_by_default()
{
$this->markTestIncomplete();
}
public function test_attributes_can_have_default_values()
{
$this->markTestIncomplete();
}
public function test_attributes_can_have_default_value_closures()
{
$this->markTestIncomplete();
}
public function test_attribute_default_value_callback_receives_correct_parameters()
{
$this->markTestIncomplete();
}
public function test_attribute_values_from_request_override_default_values()
{
$this->markTestIncomplete();
}
// to_one, to_many...
}