This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/kohana/system/tests/kohana/ModelTest.php
2011-05-03 09:49:01 +10:00

31 lines
695 B
PHP

<?php defined('SYSPATH') OR die('Kohana bootstrap needs to be included before tests run');
/**
* This test only really exists for code coverage. No tests really apply to base model.
* We can't even test Model because database doesn't exist!
*
* @group kohana
*
* @package Unittest
* @author Kohana Team
* @author BRMatt <matthew@sigswitch.com>
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_ModelTest extends Kohana_Unittest_TestCase
{
/**
* @test
*/
public function test_construct()
{
#$model = new Model_Foobar('foo');
#$model = Model::factory('Foobar', 'foo');
}
}
class Model_Foobar extends Model
{
}