Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/resources/Updater/testpluginUpdates/0.5.php')
-rw-r--r--tests/resources/Updater/testpluginUpdates/0.5.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/resources/Updater/testpluginUpdates/0.5.php b/tests/resources/Updater/testpluginUpdates/0.5.php
new file mode 100644
index 0000000000..944dcffaf2
--- /dev/null
+++ b/tests/resources/Updater/testpluginUpdates/0.5.php
@@ -0,0 +1,12 @@
+<?php
+namespace Piwik\Plugins\testpluginUpdates;
+
+use Piwik\Updates as PiwikUpdates;
+
+class Updates_0_5 extends PiwikUpdates
+{
+ function doUpdate(\Piwik\Updater $updater)
+ {
+ throw new \Piwik\Exception\MissingFilePermissionException('make sure this exception is thrown');
+ }
+}