Skip to content

Commit

Permalink
2.1.2
Browse files Browse the repository at this point in the history
- Fix countable warning
- Added test output not empty
  • Loading branch information
PerryRylance committed May 30, 2022
1 parent 1e7069a commit cefe72f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "perry-rylance/dom-document",

"version": "2.1.1",
"version": "2.1.2",
"minimum-stability": "stable",

"description": "An extension of PHP's DOMDocument library. This library implements many common jQuery functions, adds support for HTML5, CSS selectors, method chaining and performing operations on sets of matched results.",
Expand Down
7 changes: 7 additions & 0 deletions tests/DOMDocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,11 @@ public function testImport()

$this->assertEquals( $text, $document->find("#import-test")->text() );
}

public function testOutputNotEmpty()
{
$document = $this->getDocument();

$this->assertNotEmpty($document->html);
}
}

0 comments on commit cefe72f

Please sign in to comment.