diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-28 12:45:04 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-28 12:45:04 +0200 |
commit | 2cb262ff0ee22f3928e39f19dc0112b9eb26cabc (patch) | |
tree | 9ccc0e2dc903ed4b40b7b73d41f5b98dfb45514c /tests/codeigniter/helpers/email_helper_test.php | |
parent | c2c4694469be036120156d16364c7a822c744094 (diff) | |
parent | 3b2587e1559d2cbe751d04f801f999ef3fa4e74c (diff) |
Merge upstream branch
Diffstat (limited to 'tests/codeigniter/helpers/email_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/email_helper_test.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/codeigniter/helpers/email_helper_test.php b/tests/codeigniter/helpers/email_helper_test.php index 7324e8109..a01f3d5af 100644 --- a/tests/codeigniter/helpers/email_helper_test.php +++ b/tests/codeigniter/helpers/email_helper_test.php @@ -1,10 +1,12 @@ <?php -require_once(BASEPATH.'helpers/email_helper.php'); +class Email_helper_test extends CI_TestCase { + + public function set_up() + { + $this->helper('email'); + } -class Email_helper_test extends CI_TestCase -{ - public function test_valid_email() { $this->assertEquals(FALSE, valid_email('test')); |