10.April 2026

This commit is contained in:
Kevin Adametz 2026-04-10 17:15:27 +02:00
parent a00c42e770
commit f58c709945
208 changed files with 19280 additions and 2914 deletions

View file

@ -0,0 +1,18 @@
<?php
use App\Models\ShoppingOrder;
use App\Services\AboHelper;
use Tests\TestCase;
uses(TestCase::class);
afterEach(function () {
\Mockery::close();
});
it('setAboStatus tut nichts wenn getUserAbo null ist', function () {
$order = \Mockery::mock(ShoppingOrder::class);
$order->shouldReceive('getUserAbo')->once()->andReturn(null);
AboHelper::setAboStatus($order, 2, true);
});