Open albertogviana opened 1 year ago
Could you please amend this code https://github.com/sergripenko/port_service/blob/main/internal/service/port/service_test.go#L12 to allow tests cases (and subcases) to run in parallel? Besides of this, one more thing related to tests. Would it be possible to add one more test case to improve the code coverage?
done. also if future we can mock repo layer and cover errors repo.AddPort(), repo.UpdatePort()
Could you please amend this code https://github.com/sergripenko/port_service/blob/main/internal/service/port/service_test.go#L12 to allow tests cases (and subcases) to run in parallel? Besides of this, one more thing related to tests. Would it be possible to add one more test case to improve the code coverage?