Skip to content

Commit 147ae83

Browse files
chore(tests): enabled floor settings tests
1 parent 3cd9396 commit 147ae83

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

model-armor/test/modelarmor.test.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -940,9 +940,7 @@ describe('Model Armor tests', () => {
940940

941941
// =================== Floor Settings Tests ===================
942942

943-
// TODO(b/424365799): Enable below tests once the mentioned issue is resolved
944-
945-
it.skip('should get organization floor settings', async () => {
943+
it('should get organization floor settings', async () => {
946944
const getOrganizationFloorSettings = require('../snippets/getOrganizationFloorSettings');
947945

948946
const output = await getOrganizationFloorSettings.main(organizationId);
@@ -951,7 +949,7 @@ describe('Model Armor tests', () => {
951949
assert.equal(output.name, expectedName);
952950
});
953951

954-
it.skip('should get folder floor settings', async () => {
952+
it('should get folder floor settings', async () => {
955953
const getFolderFloorSettings = require('../snippets/getFolderFloorSettings');
956954

957955
const output = await getFolderFloorSettings.main(folderId);
@@ -961,7 +959,7 @@ describe('Model Armor tests', () => {
961959
assert.equal(output.name, expectedName);
962960
});
963961

964-
it.skip('should get project floor settings', async () => {
962+
it('should get project floor settings', async () => {
965963
const getProjectFloorSettings = require('../snippets/getProjectFloorSettings');
966964

967965
const output = await getProjectFloorSettings.main(projectId);
@@ -970,21 +968,21 @@ describe('Model Armor tests', () => {
970968
assert.equal(output.name, expectedName);
971969
});
972970

973-
it.skip('should update organization floor settings', async () => {
971+
it('should update organization floor settings', async () => {
974972
const updateOrganizationFloorSettings = require('../snippets/updateOrganizationFloorSettings');
975973
const output = await updateOrganizationFloorSettings.main(organizationId);
976974
// Check that the enableFloorSettingEnforcement=true
977975
assert.equal(output.enableFloorSettingEnforcement, true);
978976
});
979977

980-
it.skip('should update folder floor settings', async () => {
978+
it('should update folder floor settings', async () => {
981979
const updateFolderFloorSettings = require('../snippets/updateFolderFloorSettings');
982980
const output = await updateFolderFloorSettings.main(folderId);
983981
// Check that the enableFloorSettingEnforcement=true
984982
assert.equal(output.enableFloorSettingEnforcement, true);
985983
});
986984

987-
it.skip('should update project floor settings', async () => {
985+
it('should update project floor settings', async () => {
988986
const updateProjectFloorSettings = require('../snippets/updateProjectFloorSettings');
989987
const output = await updateProjectFloorSettings.main(projectId);
990988
// Check that the enableFloorSettingEnforcement=true

0 commit comments

Comments
 (0)