Skip to content

Commit e22a830

Browse files
committed
ci: fix invalid tests
1 parent 984066d commit e22a830

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/Renderer/MapRenderTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ public function render()
5050
$map = new Map(0, 15, 17, 0, (new CellDataParser())->parse(file_get_contents(__DIR__.'/../_files/10340.data')));
5151
$img = $this->renderer->render($map);
5252

53-
imagepng($img, __DIR__ . '/_files/37.png');
53+
imagepng($img, __DIR__ . '/_files/render.png');
5454

5555
$this->assertEquals(MapRenderer::DISPLAY_HEIGHT, imagesy($img));
5656
$this->assertEquals(MapRenderer::DISPLAY_WIDTH, imagesx($img));
5757

5858
$this->assertImages(__DIR__.'/_files/10340.png', __DIR__ . '/_files/37.png');
59-
unlink(__DIR__ . '/_files/37.png');
59+
unlink(__DIR__ . '/_files/render.png');
6060
}
6161

6262
#[Test]
@@ -67,13 +67,13 @@ public function render_with_background()
6767
));
6868
$img = $this->renderer->render($map);
6969

70-
imagepng($img, __DIR__ . '/_files/37.png');
70+
imagepng($img, __DIR__ . '/_files/render.png');
7171

7272
$this->assertEquals(MapRenderer::DISPLAY_HEIGHT, imagesy($img));
7373
$this->assertEquals(MapRenderer::DISPLAY_WIDTH, imagesx($img));
7474

75-
$this->assertImages(__DIR__.'/_files/10302.png', __DIR__ . '/_files/37.png');
76-
unlink(__DIR__ . '/_files/37.png');
75+
$this->assertImages(__DIR__.'/_files/10302.png', __DIR__ . '/_files/render.png');
76+
unlink(__DIR__ . '/_files/render.png');
7777
}
7878

7979
#[Test]

0 commit comments

Comments
 (0)