fix request log
This commit is contained in:
@@ -187,7 +187,7 @@ class OperationLogControllerTest extends TestCase
|
||||
* co-phpunit 下 Coroutine::defer 的回调要到顶层协程退出才执行。
|
||||
* 将 HTTP 请求放入子协程并 join,确保 controller 中的 defer 回调完成后再断言。
|
||||
*/
|
||||
public function test_user_create_generates_operation_log(): void
|
||||
public function test_operation_log_service_writes_record_for_user_create(): void
|
||||
{
|
||||
$suffix = bin2hex(random_bytes(4));
|
||||
$unique_name = 'ol_' . $suffix;
|
||||
@@ -241,7 +241,7 @@ class OperationLogControllerTest extends TestCase
|
||||
->delete();
|
||||
}
|
||||
|
||||
public function test_user_status_change_generates_operation_log(): void
|
||||
public function test_operation_log_service_writes_record_for_status_change(): void
|
||||
{
|
||||
$suffix = bin2hex(random_bytes(4));
|
||||
$unique_name = 'os_' . $suffix;
|
||||
|
||||
Reference in New Issue
Block a user