From ae8b790f4137f12cb90eb78e39cf7448afc8e5a5 Mon Sep 17 00:00:00 2001 From: appelflap Date: Sun, 26 Aug 2012 00:37:12 +0300 Subject: [PATCH] Update tests/usertests.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unittest_Model_TestCase does not seem to exist in Kohana 3.2. PHPUnit was failing. phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php PHP Fatal error:  Class 'Unittest_Model_TestCase' not found in /path/to/kohana/modules/user/tests/usertests.php on line 15 --- tests/usertests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/usertests.php b/tests/usertests.php index 7f56796..69d5f12 100644 --- a/tests/usertests.php +++ b/tests/usertests.php @@ -12,7 +12,7 @@ * @author gabrielgiannattasio * @copyright (c) 2011-2011 Fleep.me */ -class UserTests extends Unittest_Model_TestCase { +class UserTests extends Unittest_TestCase { private function add_valid_users() {