Deploy Ladill Give / deploy (push) Successful in 54s
Allow church QR types to resolve to the public giving landing page again after the Mini-only landing gate regression. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
319 B
PHP
17 lines
319 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Models;
|
|
|
|
use App\Models\QrCode;
|
|
use Tests\TestCase;
|
|
|
|
class QrCodeLandingTest extends TestCase
|
|
{
|
|
public function test_church_giving_pages_use_landing_page(): void
|
|
{
|
|
$qr = new QrCode(['type' => QrCode::TYPE_CHURCH]);
|
|
|
|
$this->assertTrue($qr->usesLandingPage());
|
|
}
|
|
}
|