From b03a44abffb559e15918da68ca5663125d4e38a6 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Wed, 1 Aug 2007 02:19:43 +0000 Subject: [PATCH] Remove expectations from assertOutput in URITest. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1329 48356398-32a2-884e-a903-53898d9a118a --- tests/HTMLPurifier/AttrDef/URITest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/HTMLPurifier/AttrDef/URITest.php b/tests/HTMLPurifier/AttrDef/URITest.php index af718034..5c75920c 100644 --- a/tests/HTMLPurifier/AttrDef/URITest.php +++ b/tests/HTMLPurifier/AttrDef/URITest.php @@ -240,17 +240,13 @@ class HTMLPurifier_AttrDef_URITest extends HTMLPurifier_AttrDefHarness $this->prepareCommon($config, $context); $scheme =& $this->generateSchemeMock(); $components = array($userinfo, $host, $port, $path, $query, '*', '*'); - $scheme->expectOnce('validateComponents'); $scheme->setReturnValue('validateComponents', $components); - $def = new HTMLPurifier_AttrDef_URI(); // dummy URI is passed as input, MUST NOT HAVE FRAGMENT + $def = new HTMLPurifier_AttrDef_URI(); $result_uri = $def->validate('http://example.com/', $config, $context); - $this->assertEqual($result_uri, $expect_uri); - $scheme->tally(); - } function testOutputRegular() {