Fix tests
This commit is contained in:
@@ -157,14 +157,14 @@ describe('server', () => {
|
|||||||
|
|
||||||
it('can report the server version', done => {
|
it('can report the server version', done => {
|
||||||
request.get({
|
request.get({
|
||||||
url: 'http://localhost:8378/1/features',
|
url: 'http://localhost:8378/1/serverInfo',
|
||||||
headers: {
|
headers: {
|
||||||
'X-Parse-Application-Id': 'test',
|
'X-Parse-Application-Id': 'test',
|
||||||
'X-Parse-Master-Key': 'test',
|
'X-Parse-Master-Key': 'test',
|
||||||
},
|
},
|
||||||
json: true,
|
json: true,
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
expect(body.serverVersion).toEqual(parseServerPackage.version);
|
expect(body.parseServerVersion).toEqual(parseServerPackage.version);
|
||||||
done();
|
done();
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user