From 86de2c0fa106b7c583a207ca8515426c768466d8 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Wed, 23 Oct 2024 20:24:29 +0200 Subject: [PATCH] Fix methodname ... agian ... --- .../java/org/jabref/model/entry/identifier/SSRNTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/jabref/model/entry/identifier/SSRNTest.java b/src/test/java/org/jabref/model/entry/identifier/SSRNTest.java index c7dbe3abfcd..c9a9d9fad66 100644 --- a/src/test/java/org/jabref/model/entry/identifier/SSRNTest.java +++ b/src/test/java/org/jabref/model/entry/identifier/SSRNTest.java @@ -35,12 +35,12 @@ private static Stream provideTestData() { @ParameterizedTest @MethodSource("provideTestData") public void acceptCorrectSSRNAbstracts(boolean findInText, String input) { - assertEquals("4904445", new SSRN(input).getNormalized()); + assertEquals("4904445", new SSRN(input).asString()); Optional parsed = SSRN.parse(input); if (findInText) { assertTrue(parsed.isPresent()); - assertEquals("4904445", parsed.get().getNormalized()); + assertEquals("4904445", parsed.get().asString()); } else { assertTrue(parsed.isEmpty()); } @@ -50,12 +50,12 @@ public void acceptCorrectSSRNAbstracts(boolean findInText, String input) { public void findInText() { Optional parsed = SSRN.parse("The example paper (https://ssrn.com/abstract=4904445) should be found within this text"); assertTrue(parsed.isPresent()); - assertEquals("4904445", parsed.get().getNormalized()); + assertEquals("4904445", parsed.get().asString()); } @Test public void identifierNormalisation() { - assertEquals("123456", new SSRN(123456).getNormalized()); + assertEquals("123456", new SSRN(123456).asString()); } @Test