Skip to content
Snippets Groups Projects
Commit 2480e149 authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3337062 by tedbow, phenaproxima:...

Issue #3337062 by tedbow, phenaproxima: PackageManagerKernelTestBase::assertResults does not give helpful error message if asserting results are empty fails
parent 2b5ef569
No related branches found
No related tags found
1 merge request!677Issue #3337062: PackageManagerKernelTestBase::assertResults does not give helpful error message if asserts results are empty fail
......@@ -166,7 +166,7 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
$stage->destroy();
// If we did not get an exception, ensure we didn't expect any results.
$this->assertEmpty($expected_results);
$this->assertValidationResultsEqual([], $expected_results);
}
catch (TestStageValidationException $e) {
$this->assertNotEmpty($expected_results);
......
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