Project

General

Profile

Actions

Task #601

closed

Task #52: Coding

Coding - Sửa Unit test do ảnh hưởng của tách folder owner

Added by Nghia Nguyen about 1 month ago. Updated 27 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
11/10/2025
Due date:
% Done:

0%

Estimated time:

Description

Sửa lại unit test có sẵn trong folder tests
Sau khi refactor folder, đường dẫn tới các file view có thay đổi → ảnh hưởng đến toàn bộ unit test.
Ví dụ:
$response->assertOk()->assertViewIs('facility.detail');
Dòng này sẽ không hoạt động vì trang facility.detail bây giờ nằm trong fodler standard.
=> Sửa đúng như sau:
$response->assertOk()->assertViewIs('standard.facility.detail');

Ngoài ra, tên các hàm test đang được tên tiếng Nhật → cần sửa lại tên tiếng Anh.

Phạm vi Feature cần sửa:

  • Auth
  • BatchTask
  • Facility
  • Order
  • OwnerAccount
  • UserAccount
Actions #1

Updated by Nghia Nguyen about 1 month ago

A tạo 1 task nhưng e sửa theo từng phần nha @khoi le
Xong cái nào trước thì e cứ push lên trước nha

Actions #2

Updated by khoi le about 1 month ago

  • Status changed from New to In Progress
Actions #3

Updated by khoi le about 1 month ago

  • Status changed from In Progress to Resolved
  • Assignee changed from khoi le to Nghia Nguyen
Actions #4

Updated by Nghia Nguyen 27 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF