Improve unit testing for Util::addScript() and Util::getScript()
Improve unit testing for Util::addScript() and Util::getScript()

Instead of checking for a predefined order of the scripts, test the
logic: core first, dependencies before their children, no duplicates and
all scripts still listed.

Signed-off-by: Jonas Meurer <35a2c6fae61f8077aab61faa4019722abf05093c@freesources.org>

nextcloud/server,nextcloud/server,nextcloud/server,nextcloud/server