mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
use strlen instead of count(php7.2 fails)
This commit is contained in:
parent
6e313736f4
commit
bcc298204e
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase
|
||||||
$this->assertEquals(1, strlen($autoname1));
|
$this->assertEquals(1, strlen($autoname1));
|
||||||
|
|
||||||
$autoname2=autoname(1);
|
$autoname2=autoname(1);
|
||||||
$this->assertEquals(1, count($autoname2));
|
$this->assertEquals(1, strlen($autoname2));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue