From 8aba51facf9914ffb89a7b4ff2f892c24a216e2d Mon Sep 17 00:00:00 2001 From: alperozturk Date: Wed, 8 Nov 2023 15:17:12 +0100 Subject: [PATCH] Fix kotlin object call Signed-off-by: alperozturk --- .../authentication/AuthenticatorUrlUtilsTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/test/java/com/owncloud/android/authentication/AuthenticatorUrlUtilsTest.java b/app/src/test/java/com/owncloud/android/authentication/AuthenticatorUrlUtilsTest.java index 998160bce758..bf9a58d5629d 100644 --- a/app/src/test/java/com/owncloud/android/authentication/AuthenticatorUrlUtilsTest.java +++ b/app/src/test/java/com/owncloud/android/authentication/AuthenticatorUrlUtilsTest.java @@ -38,7 +38,7 @@ public void noScheme() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(url); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url); // THEN // input is returned unchanged @@ -54,7 +54,7 @@ public void lowercaseScheme() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(url); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url); // THEN // output is equal @@ -70,7 +70,7 @@ public void uppercaseScheme() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(mixedCaseUrl); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(mixedCaseUrl); // THEN // scheme has been lower-cased @@ -87,7 +87,7 @@ public void emptyInput() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(emptyUrl); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(emptyUrl); // THEN // output is empty @@ -103,7 +103,7 @@ public void ipAddress() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(url); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url); // THEN // output is equal @@ -119,7 +119,7 @@ public void withPort() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(url); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url); // THEN // output is equal @@ -136,7 +136,7 @@ public void ipAddressWithPort() { // WHEN // scheme is normalized - String normalized = AuthenticatorUrlUtils.normalizeScheme(url); + String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url); // THEN // output is equal