From 7c9896994416bc108c803f25a9e084f5abd26419 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Mon, 9 Dec 2024 00:04:14 +0100 Subject: [PATCH] Update HelloWorld.Test.al --- Common/Common.Test/HelloWorld.Test.al | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Common/Common.Test/HelloWorld.Test.al b/Common/Common.Test/HelloWorld.Test.al index 2b0b0b5..deb8726 100644 --- a/Common/Common.Test/HelloWorld.Test.al +++ b/Common/Common.Test/HelloWorld.Test.al @@ -3,24 +3,12 @@ codeunit 90000 "HelloWorld Test" Subtype = Test; [Test] - [HandlerFunctions('HelloWorldMessageHandler')] procedure TestHelloWorldMessage() var CustList: TestPage "Customer List"; begin CustList.OpenView(); CustList.Close(); -// if (not MessageDisplayed) then -// ERROR('Message was not displayed!'); end; - - [MessageHandler] - procedure HelloWorldMessageHandler(Message: Text[1024]) - begin - MessageDisplayed := MessageDisplayed or (Message = 'App published: Hello world'); - end; - - var - MessageDisplayed: Boolean; }