I'm logged in with a superuser account and this is the process I'm doing:
1-> CREATE ROLE test WITH IN ROLE testroles PASSWORD 'testpasswd'
2-> CREATE SCHEMA AUTHORIZATION test
The role is correctly created but I'm getting this error when trying to create the Schema:
ERROR: must be member of role "test"