You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/11/18 19:31:59 UTC

[GitHub] [couchdb] davisp commented on a change in pull request #2316: Check membership when calling get_security/1 in fabric2_db

davisp commented on a change in pull request #2316: Check membership when calling get_security/1 in fabric2_db
URL: https://github.com/apache/couchdb/pull/2316#discussion_r347567940
 
 

 ##########
 File path: src/fabric/test/fabric2_db_security_tests.erl
 ##########
 @@ -63,123 +61,125 @@ setup() ->
         ]}}
     ]},
     ok = fabric2_db:set_security(Db1, SecProps),
-    {ok, Db2} = fabric2_db:open(DbName, [?ADMIN_CTX]),
-    {ok, PubDb} = fabric2_db:create(PubDbName, []),
-    {Db2, PubDb, Ctx}.
+    {ok, _} = fabric2_db:create(PubDbName, []),
 
 Review comment:
   Seems odd that this doesn't have ?ADMIN_CTX as an option when we pass it for the normal database.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services