Skip to content

Commit 739e06c

Browse files
committed
Remove time value must be UTC test.
This is currently skipped and not testable due to the interpretation happening within the implementation and not resulting in testable output.
1 parent 2b3e240 commit 739e06c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/4.09-validity-period.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,6 @@ describe('Validity Period', function() {
8181
this.test.link = `https://w3c.github.io/vc-data-model/#validity-period:~:text=If%20a%20validFrom%20value%20also%20exists%2C%20the%20validUntil%20value%20MUST%20express%20a%20datetime%20that%20is%20temporally%20the%20same%20or%20later%20than%20the%20datetime%20expressed%20by%20the%20validFrom%20value.`;
8282
await testTemporality(endpoints);
8383
});
84-
// 4.8.1 Representing Time https://w3c.github.io/vc-data-model/#representing-time
85-
it('Time values that are incorrectly serialized without an offset ' +
86-
'MUST be interpreted as UTC.', async function() {
87-
this.test.link = `https://w3c.github.io/vc-data-model/#validity-period:~:text=Time%20values%20that%20are%20incorrectly%20serialized%20without%20an%20offset%20MUST%20be%20interpreted%20as%20UTC.`;
88-
// TODO: add test using regular expression from spec.
89-
// https://w3c.github.io/vc-data-model/#example-regular-expression-to-detect-a-valid-xml-schema-1-1-part-2-datetimestamp
90-
// eslint-disable-next-line max-len, no-unused-vars
91-
const regexp = /-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))/;
92-
this.test.cell.skipMessage = 'TBD';
93-
this.skip();
94-
});
9584
});
9685
}
9786
});

0 commit comments

Comments
 (0)