Final test

This commit is contained in:
sparkyx 2024-02-27 16:34:31 +01:00
parent 3683aaa53d
commit 7ad7471c7d
12 changed files with 41 additions and 88 deletions

View file

@ -22,6 +22,7 @@
/**
* @file
* @brief Test file for Noalyss_SQL , which is an abstract class
* @backupGlobals enable
*/
use PHPUnit\Framework\TestCase;
@ -38,10 +39,12 @@ class Noalyss_SQLTest extends TestCase
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp():void
{
global $g_connection;
$g_connection=\Dossier::connect();
$this->object=new Poste_analytique_SQL($g_connection);
$a_sql=[
'delete from poste_analytique',