Kohana v3.3.0

This commit is contained in:
Deon George
2013-04-22 14:09:50 +10:00
commit f96694b18f
1280 changed files with 145034 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php defined('SYSPATH') OR die('Kohana bootstrap needs to be included before tests run');
/**
* This test only really exists for code coverage.
*
* @group kohana
* @group kohana.core
* @group kohana.core.model
*
* @package Kohana
* @category Tests
* @author Kohana Team
* @author BRMatt <matthew@sigswitch.com>
* @copyright (c) 2008-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_ModelTest extends Unittest_TestCase
{
/**
* Test the model's factory.
*
* @test
* @covers Model::factory
*/
public function test_create()
{
$foobar = Model::factory('Foobar');
$this->assertEquals(TRUE, $foobar instanceof Model);
}
}
class Model_Foobar extends Model
{
}