Skip to content
Snippets Groups Projects
Commit 85969aca authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added use of 'assertStringEqualsFile' to unit test.

parent 9d52a569
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,7 @@ class pQueryTemplateTest extends PHPUnit_Framework_TestCase {
function test_open_template_file() {
$path = $this->templates_folder.$this->file;
$content = file_get_contents($path);
$this->assertEquals($content, $this->tpl->content, 'template content was not set correctly');
$this->assertStringEqualsFile($path, $this->tpl->content, 'template content was not set correctly');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment