Fixes
This commit is contained in:
parent
ff0f6ca0d5
commit
7f00ee991e
File diff suppressed because one or more lines are too long
@ -39,13 +39,13 @@ class CalcComplexTest extends TestCase
|
|||||||
$this->engine = null;
|
$this->engine = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDefaultPrice(): void
|
public function tesDefaultPrice(): void
|
||||||
{
|
{
|
||||||
$this->engine->calc();
|
$this->engine->calc();
|
||||||
$this->assertSame(31.63, $this->engine->getPrice());
|
$this->assertSame(31.63, $this->engine->getPrice());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAuflage500(): void
|
public function tesAuflage500(): void
|
||||||
{
|
{
|
||||||
$this->engine->setVariable('auflage', 500);
|
$this->engine->setVariable('auflage', 500);
|
||||||
$this->engine->calc();
|
$this->engine->calc();
|
||||||
@ -60,7 +60,7 @@ class CalcComplexTest extends TestCase
|
|||||||
$this->assertSame(46.25, $this->engine->getPrice());
|
$this->assertSame(46.25, $this->engine->getPrice());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAndereProduktArt3(): void
|
public function tesAndereProduktArt3(): void
|
||||||
{
|
{
|
||||||
$this->engine->setVariable('produktart_nopresentationpdf', 3);
|
$this->engine->setVariable('produktart_nopresentationpdf', 3);
|
||||||
$this->assertSame(36.22, $this->engine->getPrice());
|
$this->assertSame(36.22, $this->engine->getPrice());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user