Skip to content
Merged
14 changes: 6 additions & 8 deletions model-armor/test/modelarmor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,7 @@ describe('Model Armor tests', () => {

// =================== Floor Settings Tests ===================

// TODO(b/424365799): Enable below tests once the mentioned issue is resolved

it.skip('should get organization floor settings', async () => {
it('should get organization floor settings', async () => {
Comment thread
mihirvala08 marked this conversation as resolved.
const getOrganizationFloorSettings = require('../snippets/getOrganizationFloorSettings');

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

it.skip('should get folder floor settings', async () => {
it('should get folder floor settings', async () => {
const getFolderFloorSettings = require('../snippets/getFolderFloorSettings');

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

it.skip('should get project floor settings', async () => {
it('should get project floor settings', async () => {
const getProjectFloorSettings = require('../snippets/getProjectFloorSettings');

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

it.skip('should update organization floor settings', async () => {
it('should update organization floor settings', async () => {
Comment thread
mihirvala08 marked this conversation as resolved.
Outdated
const updateOrganizationFloorSettings = require('../snippets/updateOrganizationFloorSettings');
const output = await updateOrganizationFloorSettings.main(organizationId);
// Check that the enableFloorSettingEnforcement=true
assert.equal(output.enableFloorSettingEnforcement, true);
});

it.skip('should update folder floor settings', async () => {
it('should update folder floor settings', async () => {
const updateFolderFloorSettings = require('../snippets/updateFolderFloorSettings');
const output = await updateFolderFloorSettings.main(folderId);
// Check that the enableFloorSettingEnforcement=true
assert.equal(output.enableFloorSettingEnforcement, true);
});

it.skip('should update project floor settings', async () => {
it('should update project floor settings', async () => {
const updateProjectFloorSettings = require('../snippets/updateProjectFloorSettings');
const output = await updateProjectFloorSettings.main(projectId);
// Check that the enableFloorSettingEnforcement=true
Expand Down
Loading