mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Moved test/unit/api files to test/unit/api/v0.1
refs #9866 - these test files belong to v0.1
This commit is contained in:
parent
f198343698
commit
1e9d87624a
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
var should = require('should'),
|
||||
rewire = require('rewire'),
|
||||
config = rewire('../../../server/config'),
|
||||
config = rewire('../../../../server/config'),
|
||||
api = rewire(config.get('paths').corePath + '/server/api/v0.1');
|
||||
|
||||
describe('API: index', function () {
|
|
@ -1,6 +1,6 @@
|
|||
const common = require('../../../server/lib/common');
|
||||
const common = require('../../../../server/lib/common');
|
||||
const nock = require('nock');
|
||||
const OembedAPI = require('../../../server/api/v0.1/oembed');
|
||||
const OembedAPI = require('../../../../server/api/v0.1/oembed');
|
||||
const should = require('should');
|
||||
|
||||
describe('API: oembed', function () {
|
|
@ -3,9 +3,9 @@ var should = require('should'),
|
|||
_ = require('lodash'),
|
||||
Promise = require('bluebird'),
|
||||
ObjectId = require('bson-objectid'),
|
||||
permissions = require('../../../server/services/permissions'),
|
||||
common = require('../../../server/lib/common'),
|
||||
apiUtils = require('../../../server/api/v0.1/utils'),
|
||||
permissions = require('../../../../server/services/permissions'),
|
||||
common = require('../../../../server/lib/common'),
|
||||
apiUtils = require('../../../../server/api/v0.1/utils'),
|
||||
|
||||
sandbox = sinon.sandbox.create();
|
||||
|
Loading…
Add table
Reference in a new issue