aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PluginManagerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-08-10 12:31:32 +0200
committerArthurHoaro <arthur@hoa.ro>2020-01-17 18:34:37 +0100
commitdef39d0dd7a81a4af9ad68b62c9e9823fbc2b38e (patch)
tree676b02604ae6f358ddb90c59c549465f6e9d6214 /tests/PluginManagerTest.php
parentef028857531a6abe2d7180538b8510502ee2a467 (diff)
downloadShaarli-def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e.tar.gz
Shaarli-def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e.tar.zst
Shaarli-def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e.zip
Run Unit Tests against PHP 7.4
Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r--tests/PluginManagerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php
index 71761ac1..195d959c 100644
--- a/tests/PluginManagerTest.php
+++ b/tests/PluginManagerTest.php
@@ -58,13 +58,12 @@ class PluginManagerTest extends \PHPUnit\Framework\TestCase
58 58
59 /** 59 /**
60 * Test missing plugin loading. 60 * Test missing plugin loading.
61 *
62 * @return void
63 */ 61 */
64 public function testPluginNotFound() 62 public function testPluginNotFound()
65 { 63 {
66 $this->pluginManager->load(array()); 64 $this->pluginManager->load(array());
67 $this->pluginManager->load(array('nope', 'renope')); 65 $this->pluginManager->load(array('nope', 'renope'));
66 $this->addToAssertionCount(1);
68 } 67 }
69 68
70 /** 69 /**