Skip to content

Commit bbe785a

Browse files
committed
Fix tests
1 parent bbd0b49 commit bbe785a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/MenuStyleTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ public function testGetterAndSetters() : void
124124
$style->setTitleSeparator('+');
125125
$style->setWidth(200);
126126
$style->setMargin(10);
127-
$style->setPadding(10);
127+
$style->setPaddingTopBottom(5);
128+
$style->setPaddingLeftRight(10);
128129
$style->setBorderTopWidth(1);
129130
$style->setBorderRightWidth(2);
130131
$style->setBorderBottomWidth(3);
@@ -140,7 +141,8 @@ public function testGetterAndSetters() : void
140141
self::assertSame('+', $style->getTitleSeparator());
141142
self::assertSame(200, $style->getWidth());
142143
self::assertSame(10, $style->getMargin());
143-
self::assertSame(10, $style->getPadding());
144+
self::assertSame(5, $style->getPaddingTopBottom());
145+
self::assertSame(10, $style->getPaddingLeftRight());
144146
self::assertSame(1, $style->getBorderTopWidth());
145147
self::assertSame(2, $style->getBorderRightWidth());
146148
self::assertSame(3, $style->getBorderBottomWidth());

0 commit comments

Comments
 (0)