Minor refactoring of definition unit tests 55/75955/3
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 17 Jan 2019 19:49:39 +0000 (11:49 -0800)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 17 Jan 2019 20:31:24 +0000 (12:31 -0800)
commite9ee50babb3bbfe7a6e774460a46782abefd5107
treee60fc7100b99f9b0bcba1c6c6fd0743ef806338d
parent1fa0e21ea6d3c5fb060daba19a0cb6c1f26f1364
Minor refactoring of definition unit tests

The definition unit tests needed some small changes to
ensure consistency between the source and the tests.
P3: Sort both the slices before running DeepEqual

Issue-ID: MULTICLOUD-440
Change-Id: If797322e44321a580cb1441bd5c60b812799f844
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/api/defhandler_test.go
src/k8splugin/rb/definition_test.go