tests: Fix error path not setting an error
tests: Fix error path not setting an error

This failure path should have set the GError but did not.

endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib