mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
Rename CipherString and CipherArrayBuffer to Enc (#352)
This commit is contained in:
@@ -7,7 +7,7 @@ import { FolderService } from '../../../src/abstractions/folder.service';
|
||||
import { ExportService } from '../../../src/services/export.service';
|
||||
|
||||
import { Cipher } from '../../../src/models/domain/cipher';
|
||||
import { CipherString } from '../../../src/models/domain/cipherString';
|
||||
import { EncString } from '../../../src/models/domain/encString';
|
||||
import { Login } from '../../../src/models/domain/login';
|
||||
import { CipherWithIds as CipherExport } from '../../../src/models/export/cipherWithIds';
|
||||
|
||||
@@ -46,11 +46,11 @@ function generateCipherView(deleted: boolean) {
|
||||
function generateCipherDomain(deleted: boolean) {
|
||||
return BuildTestObject({
|
||||
id: GetUniqueString('id'),
|
||||
notes: new CipherString(GetUniqueString('notes')),
|
||||
notes: new EncString(GetUniqueString('notes')),
|
||||
type: CipherType.Login,
|
||||
login: BuildTestObject<Login>({
|
||||
username: new CipherString(GetUniqueString('username')),
|
||||
password: new CipherString(GetUniqueString('password')),
|
||||
username: new EncString(GetUniqueString('username')),
|
||||
password: new EncString(GetUniqueString('password')),
|
||||
}, Login),
|
||||
collectionIds: null,
|
||||
deletedDate: deleted ? new Date() : null,
|
||||
|
||||
Reference in New Issue
Block a user