diff --git a/README.md b/README.md index c6e32483f6bbd1a597faa758845e8fabdf5f7f7c..9dcbdd9badcddab3dab277de3f54f42ed15b0017 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ This package exports the following functions: This function - creates the database - adds an admin user - - adds a collection if specified - generates a secret in `config/local-<NODE_ENV>.json` under `pubsweet-server.secret`. It can be called without arguments, in which case it will take its configuration from the following config keys: @@ -38,7 +37,6 @@ It can be called without arguments, in which case it will take its configuration password: 'pppppp', email: 'email@example.com', clobber: false // overwrite existing db (optional) - collection: 'collection_title' // (optional) } } ``` diff --git a/test/add-user/index.test.js b/test/add-user/index.test.js index 76978cdf03efdc9046a71359f49dd9b07cf113a1..58ebd67bc561a34757cfca29f5dcd074dc2d1451 100644 --- a/test/add-user/index.test.js +++ b/test/add-user/index.test.js @@ -32,7 +32,6 @@ const baseConfig = { username: 'testUsername', email: 'test@example.com', password: 'test_password', - collection: 'test_collection', }, }