mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Let AddonHelper::getAddonInfo() throw exception on invalid addons
This commit is contained in:
parent
ab3e54f0e1
commit
f1143105d2
8 changed files with 106 additions and 18 deletions
|
@ -30,8 +30,7 @@ class AddonInfoTest extends TestCase
|
|||
'without-author' => [
|
||||
'test',
|
||||
<<<TEXT
|
||||
<?php
|
||||
/*
|
||||
/**
|
||||
* Name: Test Addon
|
||||
* Description: adds awesome features to friendica
|
||||
* Version: 100.4.50-beta.5
|
||||
|
@ -55,7 +54,6 @@ class AddonInfoTest extends TestCase
|
|||
'without-maintainer' => [
|
||||
'test',
|
||||
<<<TEXT
|
||||
<?php
|
||||
/*
|
||||
* Name: Test Addon
|
||||
* Description: adds awesome features to friendica
|
||||
|
@ -79,7 +77,6 @@ class AddonInfoTest extends TestCase
|
|||
'complete' => [
|
||||
'test',
|
||||
<<<TEXT
|
||||
<?php
|
||||
/*
|
||||
* Name: Test Addon
|
||||
* Description: adds awesome features to friendica
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue