From 8200c7dd007cd196448260bdf85d0a2c049457af Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 24 Jul 2018 15:53:34 -0700 Subject: [PATCH] Simple e_parse toForm test added. --- tests/unit/e_parseTest.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/unit/e_parseTest.php b/tests/unit/e_parseTest.php index bbbf5c6fc..0bf777e69 100644 --- a/tests/unit/e_parseTest.php +++ b/tests/unit/e_parseTest.php @@ -89,12 +89,20 @@ TMP; { } - +*/ public function testToForm() { - } + $orig = "lr.src = window._lr.url + '/Scripts/api.js';"; + $db = $this->tp->toDB($orig); + + $actual = $this->tp->toForm($db); + + $this->assertEquals($db,$actual); + + } +/* public function testUstristr() {