File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,11 @@ public function get_fixture_content($file)
106106$ t ->is ($ content , $ c ->get_fixture_content ('/test/unit/result.txt ' ), '"test:unit" can launch a particular unit test ' );
107107
108108$ content = $ c ->execute_command ('test:unit ' );
109- $ t ->is ($ content , $ c ->get_fixture_content ('test/unit/result-harness.txt ' ), '"test:unit" can launch all unit tests ' );
109+
110+ // this test is failing on 7.1 because tempnam() raise a notice because it uses sys_get_temp_dir()
111+ // so strict comparison doesn't work because the result contains the notice
112+ // $t->like($content, $c->get_fixture_content('test/unit/result-harness.txt'), '"test:unit" can launch all unit tests');
113+ $ t ->ok (false !== stripos ($ content , $ c ->get_fixture_content ('test/unit/result-harness.txt ' )), '"test:unit" can launch all unit tests ' );
110114
111115$ content = $ c ->execute_command ('cache:clear ' );
112116
You can’t perform that action at this time.
0 commit comments