The tests in the main module use rest_service. The rest_service module depends upon the libraries module, but libraries isn't a dependency on the main module. This can lead to the tests failing, especially if they're extended by other modules. Related to that, tidy up the getinfo() and setUp() methods.

CommentFileSizeAuthor
#2 services-n3037439-2.patch19.91 KBdamienmckenna

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Title: List "libraries" as a test dependency » List "libraries" as a test dependency, tidy up getInfo() and setUp() methods
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new19.91 KB

This also tidies up the getInfo() and setUp() methods.

manuel garcia’s picture

+1 for the dependency, this took us ages to find out :)

Status: Needs review » Needs work

The last submitted patch, 2: services-n3037439-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

tyler.frankenstein’s picture

Status: Needs work » Fixed

Thank you Damien, that was a beastly patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.