Project

Profile

Help

Test #4956

Updated by daviddavis over 5 years ago

In #4901, we allowed users to pass in <code>'*'</code> as part of the list of <code>remove_content_units</code> when creating a RepositoryVersion so that they could remove ALL units from a new repo version. 

 h2. Test Case 1 

 1. Create a new repo version with content units 
 2. Create a new repo version with remove_content_units with ['*'] '*' 
 3. Verify the repo version is empty 

 h2. Test Case 2 (optional) 

 1. Create a new repo version with content units 
 2. Create a new content unit but don't add it to the repo version 
 3. Create a new repo version by specifying ['*'] '*' for remove_content_units and your new content unit from step 2 for add_content_units 
 4. Verify the repo version only has the new content unit from step 2

Back