Skip to content

Commit 00f6b67

Browse files
HP-1751 tiny
1 parent ef98123 commit 00f6b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/product/BillingRegistryTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testAddTariffTypeAndRetrievePriceTypes(): void
3838
$priceTypes = iterator_to_array($this->registry->priceTypes());
3939

4040
$this->assertCount(1, $priceTypes);
41-
$this->assertSame($type, $priceTypes[0]);
41+
$this->assertSame($this->tariffTypeDefinition, $priceTypes[0]);
4242
}
4343

4444
public function testLockPreventsModification(): void
@@ -70,7 +70,7 @@ public function testGetBehavior(): void
7070
$tariffTypeDefinition->withBehaviors()
7171
->attach($dummyBehavior);
7272

73-
$this->registry->addTariffType($this->tariffTypeDefinition);
73+
$this->registry->addTariffType($tariffTypeDefinition);
7474
$behavior = $this->registry->getBehavior($tariffType->name(), DummyBehavior::class);
7575

7676
$this->assertSame($dummyBehavior->getContext(), $behavior->getContext());

0 commit comments

Comments
 (0)