diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-03-22 23:16:50 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-03-22 23:27:21 +0000 |
commit | c3140f4308f0752153fb279badc88b7d54094171 (patch) | |
tree | 12d90d09c774c8f10a02683c88151a47dbc3d187 /ONAP-PDP-REST | |
parent | cfb9038e5bca8e3840ebb25d75144abba8343ea6 (diff) |
Add database initialization to XACML PDP test
This issue arose due to the order of execution of JUnit tests.
The tests in XACMLPAPTest failed becasue the database was not initialized.
Up till now, the @Before method in the test class
org.onap.policy.pap.ia.DbAuditCompareEntriesTesti initiated the database.
THis bug fix adds a similar @Before method to the XACMLPAPTest class
to initialize the database.
All other classes in the module were tested with both @Before methods
commented out to ensure that no other tests will fail due to this issue.
Issue-ID: POLICY-707
Change-Id: Ibce5fad5c006f7a92b3ef77bde4dc5ed6f7039ed
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'ONAP-PDP-REST')
0 files changed, 0 insertions, 0 deletions