diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-02 05:03:39 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-02 05:03:39 +0200 |
commit | d8159e49acd2ab61bd8390eb123f05adc07c6bdb (patch) | |
tree | cf80f02092a50db6b2857a54c7f558d7dcb1158c /tests/codeigniter/helpers/email_helper_test.php | |
parent | 0fd760e9765ea6785b4bd59d65365a079717ca6a (diff) | |
parent | 3396d531e2f3864d06860cdbdf7320bc121f77f1 (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')); |