From ae4cb5963676bdd9415f1b6652942ed462026fc5 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Mon, 16 Apr 2012 17:36:10 +0000 Subject: unified unit and integration tests --- _testing/unittests/inc/common_obfuscate.test.php | 29 ------------------------ 1 file changed, 29 deletions(-) delete mode 100644 _testing/unittests/inc/common_obfuscate.test.php (limited to '_testing/unittests/inc/common_obfuscate.test.php') diff --git a/_testing/unittests/inc/common_obfuscate.test.php b/_testing/unittests/inc/common_obfuscate.test.php deleted file mode 100644 index d7c947117..000000000 --- a/_testing/unittests/inc/common_obfuscate.test.php +++ /dev/null @@ -1,29 +0,0 @@ -assertEquals(obfuscate('jon-doe@example.com'), 'jon-doe@example.com'); - } - - function test_hex(){ - global $conf; - $conf['mailguard'] = 'hex'; - $this->assertEquals(obfuscate('jon-doe@example.com'), - 'jon-doe@example.com'); - } - - function test_visible(){ - global $conf; - $conf['mailguard'] = 'visible'; - $this->assertEquals(obfuscate('jon-doe@example.com'), 'jon [dash] doe [at] example [dot] com'); - } - - -} -//Setup VIM: ex: et ts=4 : -- cgit v1.2.3