From 5893bb1fc0b073a2583fe1e978cedf07dfa8e64a Mon Sep 17 00:00:00 2001 From: Keerthana9894 Date: Fri, 12 Jul 2024 16:26:21 +0530 Subject: [PATCH] TESTCLASS ALR-134 --- src/main/default/classes/ChangeAccountOwnerTest.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/default/classes/ChangeAccountOwnerTest.cls b/src/main/default/classes/ChangeAccountOwnerTest.cls index 5c43b7af..98ce504e 100644 --- a/src/main/default/classes/ChangeAccountOwnerTest.cls +++ b/src/main/default/classes/ChangeAccountOwnerTest.cls @@ -75,7 +75,7 @@ private class ChangeAccountOwnerTest { Test.stopTest(); Account updatedAccount = [SELECT Id, OwnerId FROM Account WHERE Id = :acc.Id]; - System.assertEquals(false, updatedAccount.OwnerId == (newUser.Id), 'Account Owner should have been updated'); - + System.assertEquals(newUser.Id, updatedAccount.OwnerId, 'Account Owner should have been updated'); + } } \ No newline at end of file