Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from kitodo:master #298

Merged
merged 26 commits into from
Aug 3, 2024
Merged

[pull] master from kitodo:master #298

merged 26 commits into from
Aug 3, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 31, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

}

@Test
public void shouldGetDigitalDocument() throws Exception {
FileLoader.createMetadataFile();

LegacyMetsModsDigitalDocumentHelper actual = processService.getDigitalDocument(processService.getById(1));
assertEquals("Metadata size in digital document is incorrect!", 1,
actual.getLogicalDocStruct().getAllMetadata().size());
assertEquals(1, actual.getLogicalDocStruct().getAllMetadata().size(), "Metadata size in digital document is incorrect!");

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
LegacyDocStructHelperInterface.getAllMetadata
should be avoided because it has been deprecated.
}

@Test
public void shouldGetDigitalDocument() throws Exception {
FileLoader.createMetadataFile();

LegacyMetsModsDigitalDocumentHelper actual = processService.getDigitalDocument(processService.getById(1));
assertEquals("Metadata size in digital document is incorrect!", 1,
actual.getLogicalDocStruct().getAllMetadata().size());
assertEquals(1, actual.getLogicalDocStruct().getAllMetadata().size(), "Metadata size in digital document is incorrect!");

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
LegacyMetsModsDigitalDocumentHelper.getLogicalDocStruct
should be avoided because it has been deprecated.
@pull pull bot merged commit 4dcf945 into slub:master Aug 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants