Skip to content
Snippets Groups Projects

Issue #3328234: Improve test DX *and* confidence: assert VFS state

3 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -36,7 +36,7 @@ class ComposerJsonExistsValidatorTest extends PackageManagerKernelTestBase {
*/
public function testComposerRequirementDuringPreApply(): void {
$result = ValidationResult::createError([
'No composer.json file can be found at vfs://root/active',
'No composer.json file can be found at ' . $this->container->get('package_manager.path_locator')->getProjectRoot(),
]);
$this->addEventTestListener(function (): void {
unlink($this->container->get('package_manager.path_locator')
Loading