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

40 lines
857 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 FieldSettersTest extends AbstractTestCase
{
public function setUp(): void
{
}
public function test_attributes_are_set_via_the_adapter_by_default()
{
$this->markTestIncomplete();
}
public function test_attribute_setters_allow_the_model_to_be_modified_before_it_is_saved()
{
$this->markTestIncomplete();
}
public function test_attribute_setters_prevent_the_default_adapter_setter()
{
$this->markTestIncomplete();
}
// to_one, to_many...
}