'plugin1', 'conflicts' => ['sprintdoc template'], ]); $notices = Notice::list($extension); $this->assertIsArray($notices); $this->assertEmpty($notices[Notice::WARNING]); } /** * A malformed dependency id in the repository metadata must not crash the notice generation */ public function testMalformedDependencyIsIgnored() { // the extension plugin itself is installed, so the dependency check is not skipped $extension = Extension::createFromRemoteData([ 'plugin' => 'extension', 'depends' => ['not:a:valid:id'], ]); $notices = Notice::list($extension); $this->assertIsArray($notices); $this->assertEmpty($notices[Notice::ERROR]); } }