From 847e7b7fa4a04c9c021f25c41b465311ebd582f4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 10 Apr 2019 16:46:49 -0600 Subject: [PATCH] Add PurifierTest --- tests/Unit/PurifierTest.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/Unit/PurifierTest.php diff --git a/tests/Unit/PurifierTest.php b/tests/Unit/PurifierTest.php new file mode 100644 index 000000000..b6852c369 --- /dev/null +++ b/tests/Unit/PurifierTest.php @@ -0,0 +1,23 @@ +catgirl spinning around in the interblag"); + $expected = 'catgirl spinning around in the interblag'; + $this->assertEquals($expected, $actual); + + $actual = Purify::clean("

catgirl spinning around in the interblag

"); + $expected = '

catgirl spinning around in the interblag

'; + $this->assertEquals($expected, $actual); + } +}