File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments