Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AC-1117] Add manage permission #3126

Merged

Use CREATE OR ALTER where possible

bdb2409
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

[AC-1117] Add manage permission #3126

Use CREATE OR ALTER where possible
bdb2409
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Aug 11, 2023 in 0s

Test Results ✔️

Tests passed successfully

✔️ test/Infrastructure.IntegrationTest/TestResults/infrastructure-test-results.trx

28 tests were completed in 13s with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Bit.Infrastructure.IntegrationTest.Auth.Repositories.AuthRequestRepositoryTests 4✔️ 6s
Bit.Infrastructure.IntegrationTest.Auth.Repositories.EmergencyAccessRepositoriesTests 4✔️ 4s
Bit.Infrastructure.IntegrationTest.Repositories.CipherRepositoryTests 12✔️ 6s
Bit.Infrastructure.IntegrationTest.Repositories.OrganizationUserRepositoryTests 8✔️ 7s

✔️ Bit.Infrastructure.IntegrationTest.Auth.Repositories.AuthRequestRepositoryTests

✔️ DeleteExpiredAsync_Works(authRequestRepository: AuthRequestRepository { }, userRepository: UserRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ DeleteExpiredAsync_Works(authRequestRepository: AuthRequestRepository { }, userRepository: UserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ DeleteExpiredAsync_Works(authRequestRepository: AuthRequestRepository { }, userRepository: UserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ DeleteExpiredAsync_Works(authRequestRepository: AuthRequestRepository { }, userRepository: UserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })

✔️ Bit.Infrastructure.IntegrationTest.Auth.Repositories.EmergencyAccessRepositoriesTests

✔️ DeleteAsync_UpdatesRevisionDate(userRepository: UserRepository { }, emergencyAccessRepository: EmergencyAccessRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ DeleteAsync_UpdatesRevisionDate(userRepository: UserRepository { }, emergencyAccessRepository: EmergencyAccessRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ DeleteAsync_UpdatesRevisionDate(userRepository: UserRepository { }, emergencyAccessRepository: EmergencyAccessRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ DeleteAsync_UpdatesRevisionDate(userRepository: UserRepository { }, emergencyAccessRepository: EmergencyAccessRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })

✔️ Bit.Infrastructure.IntegrationTest.Repositories.CipherRepositoryTests

✔️ CreateAsync_UpdateWithCollections_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, collectionRepository: CollectionRepository { }, cipherRepository: CipherRepository { }, collectionCipherRepository: CollectionCipherRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ CreateAsync_UpdateWithCollections_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, collectionRepository: CollectionRepository { }, cipherRepository: CipherRepository { }, collectionCipherRepository: CollectionCipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ CreateAsync_UpdateWithCollections_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, collectionRepository: CollectionRepository { }, cipherRepository: CipherRepository { }, collectionCipherRepository: CollectionCipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ CreateAsync_UpdateWithCollections_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, collectionRepository: CollectionRepository { }, cipherRepository: CipherRepository { }, collectionCipherRepository: CollectionCipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })
✔️ DeleteAsync_UpdatesUserRevisionDate(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ DeleteAsync_UpdatesUserRevisionDate(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ DeleteAsync_UpdatesUserRevisionDate(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ DeleteAsync_UpdatesUserRevisionDate(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })
✔️ ReplaceAsync_SuccessfullyMovesCipherToOrganization(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, folderRepository: FolderRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ ReplaceAsync_SuccessfullyMovesCipherToOrganization(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, folderRepository: FolderRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ ReplaceAsync_SuccessfullyMovesCipherToOrganization(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, folderRepository: FolderRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ ReplaceAsync_SuccessfullyMovesCipherToOrganization(userRepository: UserRepository { }, cipherRepository: CipherRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, folderRepository: FolderRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })

✔️ Bit.Infrastructure.IntegrationTest.Repositories.OrganizationUserRepositoryTests

✔️ DeleteAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ DeleteAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ DeleteAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ DeleteAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })
✔️ DeleteManyAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: DapperSqlServerTestDatabaseHelper { Info = Database { ConnectionString = "Server=localhost;Database=vault_dev;User Id=SA;Pas"..., Enabled = True, Type = SqlServer, UseEf = False } })
✔️ DeleteManyAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Data Source=/home/runner/work/_temp/test.db", Enabled = True, Type = Sqlite, UseEf = False } })
✔️ DeleteManyAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "Host=localhost;Username=postgres;Password=SET_A_PA"..., Enabled = True, Type = Postgres, UseEf = False } })
✔️ DeleteManyAsync_Works(userRepository: UserRepository { }, organizationRepository: OrganizationRepository { }, organizationUserRepository: OrganizationUserRepository { }, helper: EfTestDatabaseHelper { Info = Database { ConnectionString = "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_"..., Enabled = True, Type = MySql, UseEf = False } })