This commit is contained in:
Thomas Peterson 2025-06-05 17:10:36 +02:00
parent 2fbbb93452
commit f89cdc0c3d
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -38,6 +38,8 @@ class CalcTest extends TestCase
public function testPrice(): void
{
$this->engine->calc();
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
self::assertSame(131.86, $this->engine->getPrice());
}
@ -45,7 +47,6 @@ class CalcTest extends TestCase
{
$this->engine->setVariable('produktart_nopresentationpdf', 61);
$this->engine->calc();
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
self::assertSame(199.6, $this->engine->getPrice());
}