...
- Actions:
- Add a Broader context. (The record should now have both a Broader and Narrower context.)
- Save the record
- Delete the record
- Expected:
- You should not be able to delete the record. Instead you should receive a message similar to "This Citation record can not be removed. It has a Narrower ContextFoo Three A cannot be deleted because it belongs to a hierarchy. To delete this record, first remove its broader and narrower records."
- Actions:
- Remove both the narrower and the broader contexts
- Save the record
- Delete the record
- Expected:
- You should be able to successfully delete the record
- Actions:
- Search for the record
- Expected:
- The record should not appear in the search results
- Note: a search for Foo Three A may return Foo Three B, and upon clicking Foo Three B, you may still see Foo Three A as an adjacent term. Refreshing your browser should remove this reference.