Bug 1116688 - Test DB cleanup does not remove the role assignment rules
Summary: Test DB cleanup does not remove the role assignment rules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Maintainability
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.4
Assignee: Patrick Huang
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 03:56 UTC by Damian Jansen
Modified: 2014-10-23 04:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-10-23 04:27:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Damian Jansen 2014-07-07 03:56:52 UTC
Description of problem:
The roles added via Administration -> Role Assignment Rules are not removed when the tests are completed.

Version-Release number of selected component (if applicable):
3.4

How reproducible:
Easy always

Steps to Reproduce:
There's a new test in https://github.com/zanata/zanata-server/pull/526 (feature/administration/AutoRoleAssignmentTest.java:createAutoRoleAssignment) that creates a rule and logs in as the affected user.
Running this test repeatedly resets the database, but the rules will show duplicated.

Comment 1 Patrick Huang 2014-07-08 02:16:11 UTC
added a commit in https://github.com/zanata/zanata-server/pull/526

Comment 2 Damian Jansen 2014-07-22 04:45:40 UTC
Verified.


Note You need to log in before you can comment on or make changes to this bug.