1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 11:43:46 +00:00

Remove userId from data models (#771)

This commit is contained in:
Oscar Hinton
2022-04-20 15:59:51 +02:00
committed by GitHub
parent f6e3481fe9
commit 366d9b3c63
12 changed files with 30 additions and 70 deletions

View File

@@ -17,7 +17,6 @@ describe("Send", () => {
data = {
id: "id",
accessId: "accessId",
userId: "userId",
type: SendType.Text,
name: "encName",
notes: "encNotes",
@@ -45,7 +44,6 @@ describe("Send", () => {
expect(send).toEqual({
id: null,
accessId: null,
userId: null,
type: undefined,
name: null,
notes: null,
@@ -69,7 +67,6 @@ describe("Send", () => {
expect(send).toEqual({
id: "id",
accessId: "accessId",
userId: "userId",
type: SendType.Text,
name: { encryptedString: "encName", encryptionType: 0 },
notes: { encryptedString: "encNotes", encryptionType: 0 },
@@ -96,7 +93,6 @@ describe("Send", () => {
const send = new Send();
send.id = "id";
send.accessId = "accessId";
send.userId = "userId";
send.type = SendType.Text;
send.name = mockEnc("name");
send.notes = mockEnc("notes");