Skip to content

Commit

Permalink
fix test call
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <[email protected]>
  • Loading branch information
romayalon committed Sep 23, 2024
1 parent 3c034ca commit 5833de6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const path = require('path');
const config = require('../../../../config');
const fs_utils = require('../../../util/fs_utils');
const test_utils = require('../../system_tests/test_utils');
const { get_fs_context, is_dir_rw_accessible } = require('../../../util/native_fs_utils');
const { get_fs_context, is_dir_accessible } = require('../../../util/native_fs_utils');

const MAC_PLATFORM = 'darwin';
let tmp_fs_path = '/tmp/test_nc_nsfs_new_buckets_path_validation';
Expand Down Expand Up @@ -239,7 +239,7 @@ async function set_path_permissions(path_to_change, new_path_mode) {
*/
async function path_accessible_to_account(path_to_check, account_data, is_accessible) {
const fs_context = await get_fs_context(account_data);
const accessible = await is_dir_rw_accessible(fs_context, path_to_check);
const accessible = await is_dir_accessible(fs_context, path_to_check);
if (is_accessible) {
expect(accessible).toBe(true);
} else {
Expand Down

0 comments on commit 5833de6

Please sign in to comment.