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/PHPUnit/Unit/ConsoleTest.php')
-rw-r--r--tests/PHPUnit/Unit/ConsoleTest.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/PHPUnit/Unit/ConsoleTest.php b/tests/PHPUnit/Unit/ConsoleTest.php
new file mode 100644
index 0000000000..f13f825f32
--- /dev/null
+++ b/tests/PHPUnit/Unit/ConsoleTest.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Piwik - free/libre analytics platform
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ */
+namespace Piwik\Tests\Unit;
+
+use Piwik\Console;
+use Piwik\Version;
+
+/**
+ * @group Console
+ */
+class ConsoleTest extends \PHPUnit_Framework_TestCase
+{
+ public function testIsApplicationNameAndVersionCorrect()
+ {
+ $console = new Console();
+
+ $this->assertEquals('Piwik', $console->getName());
+ $this->assertEquals(Version::VERSION, $console->getVersion());
+ }
+}