phpldapadmin/includes/kohana/modules/unittest/tests.php

21 lines
410 B
PHP
Raw Normal View History

2013-03-19 03:39:17 +00:00
<?php
if ( ! class_exists('Kohana'))
{
die('Please include the kohana bootstrap file (see README.markdown)');
}
if ($file = Kohana::find_file('classes', 'Unittest/Tests'))
{
require_once $file;
// PHPUnit requires a test suite class to be in this file,
// so we create a faux one that uses the kohana base
class TestSuite extends Unittest_Tests
{}
}
else
{
die('Could not include the test suite');
}