chore: implement php test suites

Signed-off-by: Sebastian <krupinski01@gmail.com>
This commit is contained in:
2026-07-23 22:20:36 -04:00
parent 4d8ee0c668
commit 99fda70bdb
9 changed files with 1923 additions and 19 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace KTXT\ServiceDav\Tests\Integration;
use PHPUnit\Framework\TestCase;
class BaseTest extends TestCase
{
public function testBasicAssertion(): void
{
$this->assertTrue(true);
}
public function testArrayOperations(): void
{
$array = ['foo' => 'bar'];
$this->assertArrayHasKey('foo', $array);
$this->assertEquals('bar', $array['foo']);
}
public function testStringOperations(): void
{
$string = 'Hello, World!';
$this->assertStringContainsString('World', $string);
$this->assertEquals(13, strlen($string));
}
}