Differential D350 Diff 1272 lib/app/base-chips/access-strategy-types/user-referenced-in-field.subtest.js
Changeset View
Changeset View
Standalone View
Standalone View
lib/app/base-chips/access-strategy-types/user-referenced-in-field.subtest.js
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | with_stopped_app(async ({ app, base_url, rest_api }) => { | ||||
password: "password", | password: "password", | ||||
}); | }); | ||||
const { items } = await rest_api.get( | const { items } = await rest_api.get( | ||||
"/api/v1/collections/pets", | "/api/v1/collections/pets", | ||||
alice_session | alice_session | ||||
); | ); | ||||
assert.equal(items.length, 1); | assert.equal(items.length, 1); | ||||
assert.equal(items[0].body.name, "Alice's pet"); | assert.equal(items[0].name, "Alice's pet"); | ||||
})); | })); | ||||
}); | }); |