File tree 1 file changed +2
-2
lines changed
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
38
38
$ priceTypes = iterator_to_array ($ this ->registry ->priceTypes ());
39
39
40
40
$ this ->assertCount (1 , $ priceTypes );
41
- $ this ->assertSame ($ type , $ priceTypes [0 ]);
41
+ $ this ->assertSame ($ this -> tariffTypeDefinition , $ priceTypes [0 ]);
42
42
}
43
43
44
44
public function testLockPreventsModification (): void
@@ -70,7 +70,7 @@ public function testGetBehavior(): void
70
70
$ tariffTypeDefinition ->withBehaviors ()
71
71
->attach ($ dummyBehavior );
72
72
73
- $ this ->registry ->addTariffType ($ this -> tariffTypeDefinition );
73
+ $ this ->registry ->addTariffType ($ tariffTypeDefinition );
74
74
$ behavior = $ this ->registry ->getBehavior ($ tariffType ->name (), DummyBehavior::class);
75
75
76
76
$ this ->assertSame ($ dummyBehavior ->getContext (), $ behavior ->getContext ());
You can’t perform that action at this time.
0 commit comments