1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 09:10:21 +02:00

Rename test methods

This commit is contained in:
Oliver Vogel
2022-07-20 17:25:24 +02:00
parent f3dd7c6090
commit 67307ea863

View File

@@ -31,7 +31,7 @@ class RectangleTest extends TestCase
$this->assertEquals(34, $rectangle->getHeight());
}
public function testWithWidth(): void
public function testSetWidth(): void
{
$rectangle = new Rectangle(300, 200);
$this->assertEquals(300, $rectangle->getWidth());
@@ -39,7 +39,7 @@ class RectangleTest extends TestCase
$this->assertEquals(400, $rectangle->getWidth());
}
public function testWithHeight(): void
public function testSetHeight(): void
{
$rectangle = new Rectangle(300, 200);
$this->assertEquals(200, $rectangle->getHeight());