Expose InMemoryCacheAdapter. Update tests (#2186)

This commit is contained in:
Steven Shipton
2016-07-02 14:08:13 +01:00
committed by Tyler Brock
parent d599fdd4fe
commit d1cdea00af
2 changed files with 9 additions and 8 deletions

View File

@@ -235,10 +235,11 @@ describe('server', () => {
done();
});
it_exclude_dbs(['postgres'])('core adapters are not exposed anymore', done => {
it_exclude_dbs(['postgres'])('exposes correct adapters', done => {
expect(ParseServer.S3Adapter).toThrow();
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter is not provided by parse-server anymore; please install parse-server-gcs-adapter');
expect(ParseServer.FileSystemAdapter).toThrow();
expect(ParseServer.InMemoryCacheAdapter).toThrow();
done();
});