-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
S-PRforIssueStatus: There is a PR that is meant to resolve the issueStatus: There is a PR that is meant to resolve the issueT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description
Milestone
Description
When running the Test suite, Zonemaster::Engine::Test will run either:
- the full suite (using run_all_for())
- a specific Test module (using run_module())
- a specific Test Case (using run_one()).
The first two take at least one argument which is a Zonemaster::Engine::Zone object. However, the latter takes an array of Zonemaster::Engine::Zone objects (under the variable @arguments). I don't see why that is. From what I have seen all Test Cases only ever handle one argument (which is a Zonemaster::Engine::Zone object).
It has no sizable effect in practice but this part of the code should probably be harmonized.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S-PRforIssueStatus: There is a PR that is meant to resolve the issueStatus: There is a PR that is meant to resolve the issueT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description