N°7315 - Introduce WebPage::LinkScriptXXX() methods to replace WebPage::add_linked_script()

This commit is contained in:
Molkobain
2024-03-05 21:49:04 +01:00
parent 8c7b33fb06
commit 7948793674
3 changed files with 236 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<?php
/*
* @copyright Copyright (C) 2010-2024 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Test\UnitTest\Application\WebPage;
use Combodo\iTop\Application\WebPage\WebPage;
class WebPageMock extends WebPage
{
public function __construct()
{
// Don't call parent construct as we don't want the ob_start() method to be called (it would mess with PHPUnit)
}
}