Differential D362 Diff 1357 lib/app/base-chips/special_filters/IsReferencedByResourcesMatching.subtest.js
Changeset View
Changeset View
Standalone View
Standalone View
lib/app/base-chips/special_filters/IsReferencedByResourcesMatching.subtest.js
const assert = require("assert"); | const assert = require("assert"); | ||||
const locreq = require("locreq")(__dirname); | const locreq = require("locreq")(__dirname); | ||||
const Promise = require("bluebird"); | |||||
const { with_running_app } = locreq("test_utils/with-test-app.js"); | const { with_running_app } = locreq("test_utils/with-test-app.js"); | ||||
describe("IsReferencedByResourcesMatching", () => { | describe("IsReferencedByResourcesMatching", () => { | ||||
async function setup(app, rest_api) { | async function setup(app, rest_api) { | ||||
const Users = app.ChipManager.get_chip("collection", "users"); | const Users = app.ChipManager.get_chip("collection", "users"); | ||||
Users.set_access_strategy({ | Users.set_access_strategy({ | ||||
create: "public", | create: "public", | ||||
show: "public", | show: "public", | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |