Add test for meta model

This commit is contained in:
James Brooks 2017-06-13 19:25:16 +01:00
parent 9cd5faaa6b
commit 1faee910f3

31
tests/Models/MetaTest.php Normal file
View File

@ -0,0 +1,31 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Models;
use AltThree\TestBench\ValidationTrait;
use CachetHQ\Cachet\Models\Meta;
use CachetHQ\Tests\Cachet\AbstractTestCase;
/**
* This is the meta model test class.
*
* @author James Brooks <james@alt-three.com>
*/
class MetaTest extends AbstractTestCase
{
use ValidationTrait;
public function testValidation()
{
$this->checkRules(new Meta());
}
}