mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
test(access): align invite-create stub with branding query
This commit is contained in:
1 parent
38d2bf6326
commit
999c5bc8cb
1 file changed
+10
-2
@@ -57,11 +57,19 @@ function createDbStub() {
|
||||
select(_shape?: unknown) {
|
||||
return {
|
||||
from() {
|
||||
return {
|
||||
const query = {
|
||||
leftJoin() {
|
||||
return query;
|
||||
},
|
||||
where() {
|
||||
return Promise.resolve([{ name: "Acme Robotics" }]);
|
||||
return Promise.resolve([{
|
||||
name: "Acme Robotics",
|
||||
brandColor: "#114488",
|
||||
logoAssetId: "logo-1",
|
||||
}]);
|
||||
},
|
||||
};
|
||||
return query;
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user