I deleted all the publications and subscriptions related to the database 'test'. All I have now are the publications and subscriptions related to other databases in the server. Still, It says "Cannot drop the database 'test' because it is being used for replication."
For evidence, These are the current publications related to another database "Computers":