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

Issue #3337068 by tedbow, phenaproxima:...

Issue #3337068 by tedbow, phenaproxima: PackageManagerKernelTestBase::assertResults does not show actual results if none were expected. 
parent 2480e149
No related branches found
No related tags found
1 merge request!678Issue #3337068: PackageManagerKernelTestBase::assertResults does not show actual results if none were expected.
......@@ -169,8 +169,8 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
$this->assertValidationResultsEqual([], $expected_results);
}
catch (TestStageValidationException $e) {
$this->assertNotEmpty($expected_results);
$this->assertValidationResultsEqual($expected_results, $e->getResults());
$this->assertNotEmpty($expected_results);
// TestStage::dispatch() throws TestStageValidationException with the
// event object so that we can analyze it.
$this->assertNotEmpty($event_class);
......
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