generated from panliang/owl-admin-starter
23 lines
582 B
PHP
23 lines
582 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
// use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use App\Models\PartyUser;
|
|
use Carbon\Carbon;
|
|
use Illuminate\Support\Facades\Hash;
|
|
use Tests\TestCase;
|
|
|
|
class ExampleTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*/
|
|
public function test_the_application_returns_a_successful_response(): void
|
|
{
|
|
$time = Carbon::parse('2024-01-01 00:00:00');
|
|
$last = $time->subQuarter();
|
|
dump($last->quarter, $last->copy()->startOfQuarter()->toDateString(), $last->copy()->endOfQuarter()->toDateString());
|
|
}
|
|
}
|