[NETCONF-785] Fix and refactor Swagger unit tests Created: 16/Jun/21 Updated: 21/Jun/21 Resolved: 21/Jun/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Ivan Hrasko | Assignee: | Ivan Hrasko |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Swagger unit tests in org.opendaylight.controller.sal.rest.doc.impl package are using incorrect equals call on module revision when looking for desired module in EffectiveModelContext. This in result means that assertions in tests are skipped. Fix looking for desired module by namespace and revision, fix incorrect tests assertions, and refactor Swagger unit tests. |