Codeception / Codeception/module-doctrine

haveFakeRepository does not work for several repositories

Đang mở
#9 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
4
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://github.com/Codeception/module-doctrine2/blob/701e7e4a19ab4fa40bd89ced9a0cc6af989e10dc/src/Codeception/Module/Doctrine2.php#L394-L405

When fake repository created here it seems like all existing at this moment repositories replaced. Is there any specific reason for this? As a result you can't have two fake repositories.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reading src/Codeception/Module/Doctrine2.php at lines 394-405 and trace how haveFakeRepository creates or registers a fake repository. Reproduce the reported case with two repositories, then verify that creating one fake repository no longer replaces the other existing repositories.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
php
Lĩnh vực
testing-qa
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.