diff --git a/src/issues/issues.js b/src/issues/issues.js index 6d7e3899..64c7a8f5 100644 --- a/src/issues/issues.js +++ b/src/issues/issues.js @@ -186,7 +186,7 @@ export class Issue { */ _generateHedSpecificationLink() { const hedCodeAnchor = this.hedCode.toLowerCase().replace(/_/g, '-') - return `For more information on this HED ${this.level}, see https://hed-specification.readthedocs.io/en/latest/Appendix_B.html#${hedCodeAnchor}` + return `For more information on this HED ${this.level}, see https://www.hedtags.org/hed-specification/Appendix_B.html#${hedCodeAnchor}` } } diff --git a/tests/jsonTestData/schemaBuildTests.data.js b/tests/jsonTestData/schemaBuildTests.data.js index 33506ac1..7551b9ee 100644 --- a/tests/jsonTestData/schemaBuildTests.data.js +++ b/tests/jsonTestData/schemaBuildTests.data.js @@ -155,7 +155,7 @@ export const schemaBuildTestData = [ testname: 'lazy-partnered-with wrong-standard-build', explanation: '["testlib_2.0.0", "8.3.0"] has wrong standard schema', schemaVersion: { Name: 'BadLazyPartnered', HEDVersion: ['testlib_2.0.0', '8.3.0'] }, - schemaError: new IssueError(generateIssue('differentWithStandard', { first: '8.3.0', second: '8.2.0' })), + schemaError: new IssueError(generateIssue('differentWithStandard', { first: '8.3.0', second: '8.4.0' })), }, { testname: 'lazy-partnered-with conflicting-tags-build', diff --git a/tests/otherTests/issueParameters.spec.js b/tests/otherTests/issueParameters.spec.js index bb89a7c5..54f4cd52 100644 --- a/tests/otherTests/issueParameters.spec.js +++ b/tests/otherTests/issueParameters.spec.js @@ -32,7 +32,7 @@ describe('Issue Parameters Tests', () => { expectedMessageParts.forEach((part) => { expect(message).toContain(part) }) - expect(message).toContain('https://hed-specification.readthedocs.io') + expect(message).toContain('https://www.hedtags.org/hed-specification') expect(message).toContain('For more information on this HED error') } diff --git a/tests/otherTests/schema.spec.js b/tests/otherTests/schema.spec.js index 336bc395..8896c51a 100644 --- a/tests/otherTests/schema.spec.js +++ b/tests/otherTests/schema.spec.js @@ -358,7 +358,7 @@ describe('HED schemas', () => { }) it('should build schemas from comma-separated version strings', async () => { - const versionString = '8.2.0, testlib_2.0.0' + const versionString = '8.4.0, testlib_2.0.0' const schemas = await buildSchemasFromVersion(versionString) assert.isNotNull(schemas, 'Schemas should not be null') @@ -367,12 +367,12 @@ describe('HED schemas', () => { }) it('should build schemas from comma-separated version strings with spaces', async () => { - const versionString = ' 8.2.0 , testlib_2.0.0 ' + const versionString = ' 8.4.0 , testlib_2.0.0 ' const schemas = await buildSchemasFromVersion(versionString) assert.isNotNull(schemas, 'Schemas should not be null') assert.instanceOf(schemas.baseSchema, PartneredSchema) - assert.strictEqual(schemas.baseSchema.withStandard, '8.2.0') + assert.strictEqual(schemas.baseSchema.withStandard, '8.4.0') }) it('should build schemas from multiple partnered schemas', async () => {