You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
652 B

<?php
require_once __DIR__ . "/../examples/Schemas/Message.php";
require_once __DIR__ . "/../examples/Schemas/Organisation.php";
use Darksparrow\AuxiliumSchemaBuilder\Examples\SchemaBuilder\Schemas\Message;
use Darksparrow\AuxiliumSchemaBuilder\Utilities\URLHandling;
use PHPUnit\Framework\TestCase;
final class SchemaURITest extends TestCase
{
public function test0()
{
URLHandling::$URLBase = "https://schemas.auxiliumsoftware.co.uk/v1/";
self::assertEquals(
expected: "https://schemas.auxiliumsoftware.co.uk/v1/message.json",
actual: URLHandling::GetURLForSchema(Message::class),
);
}
}