MDL-48494 admin: Fail validation of plugins with no component declared
authorDavid Mudrák <david@moodle.com>
Thu, 6 Aug 2015 13:59:40 +0000 (15:59 +0200)
committerDavid Mudrák <david@moodle.com>
Mon, 31 Aug 2015 08:01:34 +0000 (10:01 +0200)
commit033761fe9b555d02f6c0acc4ee956c010104968a
tree7fbb1f6c4ae7c783bc7c3fd15280d5794b0272e3
parent98ea69734929567d1341a605293142831d0f1ba6
MDL-48494 admin: Fail validation of plugins with no component declared
admin/tool/installaddon/classes/validator.php
admin/tool/installaddon/lang/en/tool_installaddon.php
admin/tool/installaddon/tests/fixtures/nocomponent/baz/lang/en/auth_baz.php [new file with mode: 0644]
admin/tool/installaddon/tests/fixtures/nocomponent/baz/version.php [new file with mode: 0644]
admin/tool/installaddon/tests/fixtures/nolang/bah/version.php
admin/tool/installaddon/tests/fixtures/wronglang/bah/lang/en/bah.php [new file with mode: 0644]
admin/tool/installaddon/tests/fixtures/wronglang/bah/version.php [new file with mode: 0644]
admin/tool/installaddon/tests/validator_test.php
admin/tool/installaddon/version.php