Download plugins/ExamplePlugin/tests/Integration/SimpleTest.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 815 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExamplePlugin/tests/Integration/SimpleTest.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/ExamplePlugin/tests/Integration/SimpleTest.php
-
curl -L -o SimpleTest.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExamplePlugin/tests/Integration/SimpleTest.php
815 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\Integration; | |
| use Piwik\Tests\Framework\TestCase\IntegrationTestCase; | |
| /** | |
| * @group ExamplePlugin | |
| * @group SimpleTest | |
| * @group Plugins | |
| */ | |
| class SimpleTest extends IntegrationTestCase | |
| { | |
| public function setUp(): void | |
| { | |
| parent::setUp(); | |
| // set up your test here if needed | |
| } | |
| public function tearDown(): void | |
| { | |
| // clean up your test here if needed | |
| parent::tearDown(); | |
| } | |
| /** | |
| * All your actual test methods should start with the name "test" | |
| */ | |
| public function testSimpleAddition() | |
| { | |
| $this->assertEquals(2, 1 + 1); | |
| } | |
| } | |