From b8bf2ba766b1a4fd4bd9032f045552d2561aefc1 Mon Sep 17 00:00:00 2001 From: Muhammad Raihan Akbar <ianakbar711@gmail.com> Date: Thu, 6 Mar 2025 21:39:45 +0700 Subject: [PATCH] [REFACTOR] Corrected Argument Order --- .../com/safetypin/authentication/dto/GoogleAuthDTOTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/safetypin/authentication/dto/GoogleAuthDTOTest.java b/src/test/java/com/safetypin/authentication/dto/GoogleAuthDTOTest.java index 901f6f7..e7ec48f 100644 --- a/src/test/java/com/safetypin/authentication/dto/GoogleAuthDTOTest.java +++ b/src/test/java/com/safetypin/authentication/dto/GoogleAuthDTOTest.java @@ -121,7 +121,7 @@ class GoogleAuthDTOTest { // Test equals assertEquals(dto1, dto2, "Identical DTOs should be equal"); assertNotEquals(dto1, dto3, "Different DTOs should not be equal"); - assertNotEquals(dto1, null, "Should not be equal to null"); + assertNotEquals(null, dto1, "Should not be equal to null"); assertNotEquals(dto1, new Object(), "Should not be equal to different object type"); // Test hashCode -- GitLab