Fix tests

This commit is contained in:
Drew Gross
2016-03-02 14:36:46 -08:00
parent 36202badf3
commit a56fe0f7e6

View File

@@ -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();
}) })
}); });