Removes GCS Adapter from provided adapters

* 💣 removes exposed GCS files adapter

- Should fix problems with GCS
- Throws error that shows the right repo
This commit is contained in:
Florent Vilmart
2016-04-05 18:18:49 -04:00
parent 0b2dc12143
commit 1eb2a87f9f
4 changed files with 15 additions and 8 deletions

View File

@@ -261,9 +261,9 @@ describe('server', () => {
done();
});
it('exposes all the "core" adapters', done => {
it('core adapters are not exposed anymore', done => {
expect(ParseServer.S3Adapter).toThrow();
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter requires an projectId');
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter is not provided by parse-server anymore; please install parse-server-gcs-adapter');
expect(ParseServer.FileSystemAdapter).toThrow();
done();
});