Fix unit tests failing if nofollow attribute is turned on

This commit is contained in:
Kijin Sung 2023-08-10 23:51:50 +09:00
parent 6e7012394e
commit 5881d08f6a

View file

@ -2,6 +2,11 @@
class FormatterTest extends \Codeception\TestCase\Test
{
public function _before()
{
config('security.nofollow', false);
}
public function testText2HTML()
{
$text = file_get_contents(\RX_BASEDIR . 'tests/_data/formatter/text2html.source.txt');