Not Tachyon

This commit is contained in:
djmaze 2026-10-26 00:39:16 +01:00
parent 49dd9a7c7c
commit 8678c0e8fd
4 changed files with 20 additions and 41 deletions

View file

@ -1,12 +1,9 @@
<?php
// Run with: php test/raw-inline-type.php
spl_autoload_register(static function (string $class): void {
$file = dirname(__DIR__).'/tachyon/v/0.0.0/app/libraries/'.str_replace('\\', '/', $class).'.php';
if (is_file($file)) {
require_once $file;
}
});
// Enable SnappyMail Api and include index file
$_ENV['SNAPPYMAIL_INCLUDE_AS_API'] = true;
require '../index.php';
function check(bool $condition, string $message): void
{
@ -17,7 +14,7 @@ function check(bool $condition, string $message): void
class RawInlineType
{
use \Tachyon\Actions\Raw;
use \RainLoop\Actions\Raw;
}
$cases = [