diff --git a/app/app/mirage/config.js b/app/app/mirage/config.js
index 726ef0ac..d95e6a4a 100644
--- a/app/app/mirage/config.js
+++ b/app/app/mirage/config.js
@@ -5,17 +5,6 @@ export default function() {
this.namespace = 'api'; // make this `api`, for example, if your API is namespaced
// this.timing = 400; // delay for each request, automatically set to 0 during testing
- // this.get('/public/meta', function() {
- // return {
- // "orgId": "VzMuyEw_3WqiafcD",
- // "title": "EmberSherpa",
- // "message": "This Documize instance contains all our team documentation",
- // "url": "",
- // "allowAnonymousAccess": false,
- // "version": "11.2"
- // };
- // });
-
this.get('/public/meta', function(db) {
return db.meta[0];
});
@@ -66,18 +55,6 @@ export default function() {
return [];
});
- this.get('/folders/VzMuyEw_3WqiafcG', function() {
- return {
- "id": "VzMuyEw_3WqiafcG",
- "created": "2016-05-11T15:08:24Z",
- "revised": "2016-05-11T15:08:24Z",
- "name": "My Project",
- "orgId": "VzMuyEw_3WqiafcD",
- "userId": "VzMuyEw_3WqiafcE",
- "folderType": 2
- };
- });
-
this.get('/documents', function(db, request) {
let folder_id = request.queryParams.folder;
@@ -251,54 +228,6 @@ export default function() {
return db.folders.find(id);
});
- // this.get('/folders/VzMygEw_3WrtFzto', () => {
- // return {
- // "id": "VzMygEw_3WrtFzto",
- // "created": "2016-05-11T13:24:17Z",
- // "revised": "2016-05-11T13:25:51Z",
- // "name": "Test",
- // "orgId": "VzMuyEw_3WqiafcD",
- // "userId": "VzMuyEw_3WqiafcE",
- // "folderType": 1
- // };
- // });
- //
- // this.get('/folders/V0Vy5Uw_3QeDAMW9', () => {
- // return {
- // "id":"V0Vy5Uw_3QeDAMW9",
- // "created":"2016-05-25T09:39:49Z",
- // "revised":"2016-05-25T09:39:49Z",
- // "name":"Test Folder",
- // "orgId":"VzMuyEw_3WqiafcD",
- // "userId":"VzMuyEw_3WqiafcE",
- // "folderType":2
- // };
- // });
- //
- // this.get('/folders/VzMuyEw_3WqiafcG', () => {
- // return {
- // "id": "VzMuyEw_3WqiafcG",
- // "created": "2016-05-11T15:08:24Z",
- // "revised": "2016-05-11T15:08:24Z",
- // "name": "My Project",
- // "orgId": "VzMuyEw_3WqiafcD",
- // "userId": "VzMuyEw_3WqiafcE",
- // "folderType": 2
- // };
- // });
- //
- // this.get('/folders/VzMuyEw_3WqiafcG', () => {
- // return {
- // "id": "VzMuyEw_3WqiafcG",
- // "created": "2016-05-11T15:08:24Z",
- // "revised": "2016-05-11T15:08:24Z",
- // "name": "My Project",
- // "orgId": "VzMuyEw_3WqiafcD",
- // "userId": "VzMuyEw_3WqiafcE",
- // "folderType": 2
- // };
- // });
-
this.get('/organizations/VzMuyEw_3WqiafcD', () => {
return {
"id": "VzMuyEw_3WqiafcD",
diff --git a/app/tests/unit/helpers/document/toc-entry-test.js b/app/tests/unit/helpers/document/toc-entry-test.js
deleted file mode 100644
index 1ca81d05..00000000
--- a/app/tests/unit/helpers/document/toc-entry-test.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import {
- documentTocEntry
-} from '../../../../helpers/document/toc-entry';
-import {
- module,
- test
-} from 'qunit';
-
-module('Unit | Helper | document/toc entry');
-
-test('toc entry should be not indented and not selected', function(assert) {
- let result = documentTocEntry(['node-123', 'node-321', 1]);
- assert.equal(result.toString(), "");
-});
-
-test('toc entry should be indented and selected', function(assert) {
- let result = documentTocEntry(['node-123', 'node-123', 2]);
- assert.equal(result.toString(), "");
-});
\ No newline at end of file