Renaming folders
Added test to ensure folder renames work properly.
I got this exception when trying to rename a folder:
Cannot delete or update a parent row: a foreign key constraint fails
(`genesys202108`.`repository_gallery`, CONSTRAINT `FK_trk7cw1r3dsxgu8jlia1ecrgk` FOREIGN KEY (`folder_id`) REFERENCES `repository_folder` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION)
- It should not try to remove the existing gallery.
- Gallery paths need to be updated.
- I'm sure you can come up with additional tests.
Edited by Matija Obreza