Skip to content

Commit

Permalink
Fixed VAT trait test
Browse files Browse the repository at this point in the history
- Updated VatTraitTest class
  • Loading branch information
josemmo committed Oct 5, 2020
1 parent 2bad7da commit 0147d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Traits/VatTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ protected function setUp(): void {

public function testCanReadAndWriteRate(): void {
$this->line->setVatRate(10);
$this->assertSame(10, $this->line->getVatRate());
$this->assertEquals(10, $this->line->getVatRate());
$this->line->setVatRate(0);
$this->assertSame(0, $this->line->getVatRate());
$this->assertEquals(0, $this->line->getVatRate());
}

public function testCannotSetNegativeRate(): void {
Expand Down

0 comments on commit 0147d64

Please sign in to comment.