Download plugins/ExamplePlugin/tests/Unit/SimpleTest.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 685 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExamplePlugin/tests/Unit/SimpleTest.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/ExamplePlugin/tests/Unit/SimpleTest.php
-
curl -L -o SimpleTest.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExamplePlugin/tests/Unit/SimpleTest.php
685 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| namespace Piwik\Plugins\ExamplePlugin\tests\Unit; | |
| /** | |
| * @group ExamplePlugin | |
| * @group SimpleTest | |
| * @group Plugins | |
| */ | |
| class SimpleTest extends \PHPUnit\Framework\TestCase | |
| { | |
| public function setUp(): void | |
| { | |
| // set up here if needed | |
| } | |
| public function tearDown(): void | |
| { | |
| // tear down here if needed | |
| } | |
| /** | |
| * All your actual test methods should start with the name "test" | |
| */ | |
| public function testSimpleAddition() | |
| { | |
| $this->assertEquals(2, 1 + 1); | |
| } | |
| } | |