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

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,6 @@ class CalcTest extends TestCase
public function testPrice(): void public function testPrice(): void
{ {
$this->engine->calc(); $this->engine->calc();
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
$this->assertSame(44.07, $this->engine->getPrice()); $this->assertSame(44.07, $this->engine->getPrice());
} }

View File

@ -45,7 +45,7 @@ class CalcTest extends TestCase
{ {
$this->engine->setVariable('produktart_nopresentationpdf', 61); $this->engine->setVariable('produktart_nopresentationpdf', 61);
$this->engine->calc(); $this->engine->calc();
// file_put_contents("/tmp/t1.txt", print_r($this->engine->getDebugCalcVariables(),true).print_r($this->engine->getDebugCalcFormel(),true)); file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
self::assertSame(199.6, $this->engine->getPrice()); self::assertSame(199.6, $this->engine->getPrice());
} }