override collection name for arangodb (#1274)
Add collection name settings for arangodb database. Required to pass common tests included in community connector
This commit is contained in:
parent
e9baea77e0
commit
570da781b8
|
@ -79,6 +79,7 @@ describe('default scope', function() {
|
||||||
base: 'Product',
|
base: 'Product',
|
||||||
scope: {where: {kind: 'Tool'}, order: 'name'},
|
scope: {where: {kind: 'Tool'}, order: 'name'},
|
||||||
scopes: {active: {where: {active: true}}},
|
scopes: {active: {where: {active: true}}},
|
||||||
|
arangodb: {collection: 'Product'},
|
||||||
mongodb: {collection: 'Product'},
|
mongodb: {collection: 'Product'},
|
||||||
memory: {collection: 'Product'},
|
memory: {collection: 'Product'},
|
||||||
});
|
});
|
||||||
|
@ -88,6 +89,7 @@ describe('default scope', function() {
|
||||||
properties: {kind: 'Widget'},
|
properties: {kind: 'Widget'},
|
||||||
scope: {where: {kind: 'Widget'}, order: 'name'},
|
scope: {where: {kind: 'Widget'}, order: 'name'},
|
||||||
scopes: {active: {where: {active: true}}},
|
scopes: {active: {where: {active: true}}},
|
||||||
|
arangodb: {collection: 'Product'},
|
||||||
mongodb: {collection: 'Product'},
|
mongodb: {collection: 'Product'},
|
||||||
memory: {collection: 'Product'},
|
memory: {collection: 'Product'},
|
||||||
});
|
});
|
||||||
|
@ -111,6 +113,7 @@ describe('default scope', function() {
|
||||||
base: 'Product',
|
base: 'Product',
|
||||||
attributes: propertiesFn,
|
attributes: propertiesFn,
|
||||||
scope: scopeFn,
|
scope: scopeFn,
|
||||||
|
arangodb: {collection: 'Product'},
|
||||||
mongodb: {collection: 'Product'},
|
mongodb: {collection: 'Product'},
|
||||||
memory: {collection: 'Product'},
|
memory: {collection: 'Product'},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue