Skip to content

Commit 97cba99

Browse files
authored
Merge pull request #342 from IQSS/fix-env
revert the dataverse image to 'unstable'
2 parents a731e47 + eb9ffc3 commit 97cba99

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

test/environment/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
POSTGRES_VERSION=17
22
DATAVERSE_DB_USER=dataverse
33
SOLR_VERSION=9.8.0
4-
DATAVERSE_IMAGE_REGISTRY=ghcr.io
5-
DATAVERSE_IMAGE_TAG=11614-include-isAdvancedSearchField-property
4+
DATAVERSE_IMAGE_REGISTRY=docker.io
5+
DATAVERSE_IMAGE_TAG=unstable
66
DATAVERSE_BOOTSTRAP_TIMEOUT=5m

test/integration/datasets/DatasetsRepository.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,8 +954,8 @@ describe('DatasetsRepository', () => {
954954
}
955955
])
956956
})
957-
958-
test('should throw error if trying to update an outdated internal version dataset', async () => {
957+
// TODO: add this test when https://github.com/IQSS/dataverse-client-javascript/issues/343 is fixed
958+
test.skip('should throw error if trying to update an outdated internal version dataset', async () => {
959959
const testDataset = {
960960
metadataBlockValues: [
961961
{

test/testHelpers/roles/roleHelper.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ export const createSuperAdminRoleArray = (): Role[] => {
4242
'ManageDatasetPermissions',
4343
'ManageFilePermissions',
4444
'PublishDataverse',
45+
'LinkDataverse',
4546
'PublishDataset',
47+
'LinkDataset',
4648
'DeleteDataverse',
4749
'DeleteDatasetDraft'
4850
],
@@ -99,10 +101,11 @@ export const createSuperAdminRoleArray = (): Role[] => {
99101
'ManageDatasetPermissions',
100102
'ManageFilePermissions',
101103
'PublishDataset',
104+
'LinkDataset',
102105
'DeleteDatasetDraft'
103106
],
104107
description:
105-
'For datasets, a person who can edit License + Terms, edit Permissions, and publish datasets.',
108+
'For datasets, a person who can edit License + Terms, edit Permissions, and publish and link datasets.',
106109
id: 7
107110
},
108111
{

0 commit comments

Comments
 (0)