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.
|
- <?php
-
- namespace Tests\Feature\Http;
-
- use App\Codes\UserRole;
- use App\Logics\QRService\CertificateLogic;
- use App\Models\HtpmsCustomer\Deposit\Deposit;
- use App\Models\HtpmsCustomer\Mst\Shop;
- use App\Models\HtpmsCustomer\Mst\ShopNoRelation;
- use App\Models\HtpmsCustomer\QRService\CertificationAvailableSetting;
- use App\Models\HtpmsCustomer\QRService\CertificationTicket;
- use App\Models\User;
- use App\Util\DateUtil;
- use Illuminate\Support\Carbon;
- use Tests\TestCase;
-
- class CustomerListTest extends TestCase
- {
-
-
- public function test(): void
- {
- $user = User::whereRole(UserRole::ADMIN)->firstOrFail();
- $res = $this->actingAs($user)
- ->get('/api/customer/list');
-
- print_r($res->json());
-
- $this->assertEquals("0", $res->json('result'));
- }
- }
|