From ef8ade5d203ba9ca4dff33f625f554abb05daa48 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 17 Dec 2025 18:36:00 +0100 Subject: [PATCH] :memo: Update unit tests documentation --- tests/php-unit-tests/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/php-unit-tests/README.md b/tests/php-unit-tests/README.md index 4cc175be1..d098ddcc9 100644 --- a/tests/php-unit-tests/README.md +++ b/tests/php-unit-tests/README.md @@ -2,9 +2,6 @@ Documentation on creating and maintaining tests in iTop. - - - ## Prerequisites ### PHPUnit configuration file @@ -78,7 +75,8 @@ Example : $oTagData->DBDelete(); ``` -Warning : when the condition is met the test is finished and following code will be ignored ! +> [!WARNING] +> When the condition is met the test is finished and following code will be ignored ! Another way to do is using try/catch blocks, for example : ```php