diff --git a/tests/Alyx_test.m b/tests/Alyx_test.m index ada55f8..dab309e 100644 --- a/tests/Alyx_test.m +++ b/tests/Alyx_test.m @@ -327,8 +327,8 @@ function test_getFile(testCase) ai = testCase.alyx; % Test paths from dataset eid [fullPath, exists] = ai.getFile(testCase.dataset_id); - expected = ['http://ibl.flatironinstitute.org/cortexlab/Subjects/'... - 'KS005/2019-04-11/001/alf/_ibl_trials.itiDuration.e84cfbc9-20f6-4e85-b221-aae3c18b2fd9.npy']; + expected = ['https://ibl.flatironinstitute.org/cortexlab/Subjects'... + '/KS005/2019-04-11/001/alf/_ibl_trials.itiDuration.e84cfbc9-20f6-4e85-b221-aae3c18b2fd9.npy']; testCase.verifyEqual(fullPath{1}, expected, 'Unexpected path returned') testCase.verifyEqual(exists, [true false false]) testCase.verifyTrue(all(endsWith(fullPath(2:end), ... @@ -346,8 +346,8 @@ function test_getFile(testCase) % Test file record [fullPath, exists] = ai.getFile(testCase.file_record_ids{1}, 'file'); - expected = ['http://ibl.flatironinstitute.org/mainenlab/Subjects/'... - 'clns0730/2018-08-24/1/clusters.probes.npy']; + expected = ['https://ibl.flatironinstitute.org/mainenlab/Subjects'... + '/clns0730/2018-08-24/1/clusters.probes.npy']; testCase.verifyEqual(fullPath, expected, 'Unexpected path returned') testCase.verifyEqual(numel(ensureCell(fullPath)), numel(exists));