Migrate billing from Paddle to Lemon Squeezy

This commit is contained in:
Codex Agent
2026-02-03 10:59:54 +01:00
parent 2f4ebfefd4
commit a0ef90e13a
228 changed files with 4369 additions and 4067 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace Tests\Unit;
use Tests\TestCase;
class LemonSqueezySyncLoggingConfigTest extends TestCase
{
public function test_lemonsqueezy_sync_channel_is_configured(): void
{
$channel = config('logging.channels.lemonsqueezy-sync');
$this->assertIsArray($channel);
$this->assertSame('stack', $channel['driver'] ?? null);
$this->assertNotEmpty($channel['channels'] ?? null);
}
public function test_lemonsqueezy_sync_file_channel_is_configured(): void
{
$channel = config('logging.channels.lemonsqueezy-sync-file');
$this->assertIsArray($channel);
$this->assertSame('daily', $channel['driver'] ?? null);
$this->assertSame('lemonsqueezy-sync.log', basename((string) ($channel['path'] ?? '')));
}
}