fcrepo / Fedora-API-Test-Suite

A Standalone testing suite that exercises the requirements in the Fedora API Specification indicating the degree of a server’s compliance with the specification.
Apache License 2.0
3 stars 11 forks source link

Test 4.1.1-A assumes a version on demand system #338

Open whikloj opened 4 years ago

whikloj commented 4 years ago

Test fails if there is a version returned, which is fine when Fedora 5 (manual versioning) was how the test was confirmed.

https://github.com/fcrepo/Fedora-API-Test-Suite/blob/master/src/main/java/org/fcrepo/spec/testsuite/versioning/LdprvHttpGet.java#L72

awoods commented 4 years ago

In order for F6 to pass this test, we need to set auto-versioning to false?

whikloj commented 4 years ago

Yes it verifies it is a versionable resource with a TimeGate, but then tries to get a version and assumes there won't be one. Because F6 is OCFL and auto-versioning it always has the first version when created.

awoods commented 4 years ago

I wonder what the broader impact would be if we run the tests with auto-versioning set to false.