Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unit test fails on document package #186

Merged
merged 1 commit into from

2 participants

@ianmacl

Fixed unit test. The test for parse verified that the method returned null. The method now returns a JDocument object. Test changed to reflect that.

@pasamio pasamio merged commit 3d34d4a into joomla:staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 6, 2011
  1. @ianmacl

    Fixing unit test

    ianmacl authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/suite/joomla/document/JDocumentTest.php
View
4 tests/suite/joomla/document/JDocumentTest.php
@@ -706,7 +706,7 @@ public function testParse()
$this->assertThat(
$this->object->parse(),
- $this->equalTo(null)
+ $this->isInstanceOf('JDocument')
);
}
@@ -774,4 +774,4 @@ public function testRender()
);
}
-}
+}
Something went wrong with that request. Please try again.