From f88f7136c3ef336e1ce1ec04d3916207677edc36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 3 Sep 2025 22:33:43 +0200 Subject: [PATCH] clean code (#35210) --- test/phpunit/ExpenseReportTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/phpunit/ExpenseReportTest.php b/test/phpunit/ExpenseReportTest.php index d2a2ab031f2..4973a0e987c 100644 --- a/test/phpunit/ExpenseReportTest.php +++ b/test/phpunit/ExpenseReportTest.php @@ -1,7 +1,7 @@ * Copyright (C) 2023 Alexandre Janniaux - * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ class ExpenseReportTest extends CommonClassTest $langs = $this->savlangs; $db = $this->savdb; - // Create supplier order with a too low quantity + // Create expense report $localobject = new ExpenseReport($db); $localobject->initAsSpecimen(); // Init a specimen with lines $localobject->status = 0; @@ -77,7 +77,7 @@ class ExpenseReportTest extends CommonClassTest $sql = "DELETE FROM ".MAIN_DB_PREFIX."expensereport where ref=''"; $db->query($sql); - // Create supplier order + // Create expense report $localobject2 = new ExpenseReport($db); $localobject2->initAsSpecimen(); // Init a specimen with lines $localobject2->status = 0; @@ -94,7 +94,7 @@ class ExpenseReportTest extends CommonClassTest /** * testExpenseReportFetch * - * @param int $id Id of supplier order + * @param int $id Id of expense report * @return void * * @depends testExpenseReportCreate