From ee12f8380598e7c451a3e255bac81a11b870e6d8 Mon Sep 17 00:00:00 2001 From: Samuel Galson <samgalson@gmail.com> Date: Tue, 24 Oct 2017 10:24:31 +0100 Subject: [PATCH] update readme and test --- README.md | 2 -- test/add-user/index.test.js | 1 - 2 files changed, 3 deletions(-) diff --git a/README.md b/README.md index c6e32483f..9dcbdd9ba 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 76978cdf0..58ebd67bc 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', }, } -- GitLab