aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes/TextTest.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-07-03 21:33:24 +0200
committerMario Vavti <mario@mariovavti.com>2017-07-03 21:33:24 +0200
commitd0961068247ce57ba0eb45afc078cacb44b87810 (patch)
treef9372689e943a522f4c0bd417d4458474aee0cfd /tests/unit/includes/TextTest.php
parent562124c29f821b046bc4cf4b48a7bde39c70a07b (diff)
parent64cad0a041e44940f75bf351fc3755b3202f9029 (diff)
downloadvolse-hubzilla-d0961068247ce57ba0eb45afc078cacb44b87810.tar.gz
volse-hubzilla-d0961068247ce57ba0eb45afc078cacb44b87810.tar.bz2
volse-hubzilla-d0961068247ce57ba0eb45afc078cacb44b87810.zip
merge red into hubzilla
Diffstat (limited to 'tests/unit/includes/TextTest.php')
-rw-r--r--tests/unit/includes/TextTest.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/unit/includes/TextTest.php b/tests/unit/includes/TextTest.php
index 4afa2b49b..acc490001 100644
--- a/tests/unit/includes/TextTest.php
+++ b/tests/unit/includes/TextTest.php
@@ -11,27 +11,7 @@ use Zotlabs\Tests\Unit\UnitTestCase;
*/
class TextTest extends UnitTestCase {
- /**
- * @covers ::valid_email_regex
- */
- public function testGoodEmail() {
- $this->assertTrue(valid_email_regex('ken@spaz.org'));
- $this->assertTrue(valid_email_regex('ken@restivo.org'));
- $this->assertTrue(valid_email_regex('nobody@hubzilla.org'));
- $this->assertTrue(valid_email_regex('foo+nobody@hubzilla.org'));
- }
-
- /**
- * @covers ::valid_email_regex
- */
- public function testBadEmail() {
- $this->assertFalse(valid_email_regex('nobody!uses!these!any.more'));
- $this->assertFalse(valid_email_regex('foo@bar@hubzilla.org'));
- }
- /**
- * @covers ::purify_html
- */
public function testPurifyHTML() {
// linebreaks
$htmlbr = 'first line<br />