diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69e610c2..f5142f92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: - name: Build run: | - npm run build + npm run build - name: Test run: | diff --git a/tests/Controller/TranslateControllerTest.php b/tests/Controller/TranslateControllerTest.php index 295473de..80602724 100644 --- a/tests/Controller/TranslateControllerTest.php +++ b/tests/Controller/TranslateControllerTest.php @@ -15,10 +15,10 @@ class TranslateControllerTest extends WebTestCase public function testExists(): void { $client = static::createClient(); - $crawler = $client->request('GET', '/File:Test.svg'); + $crawler = $client->request('GET', '/File:SVG_Translate_test_-_valid.svg'); $response = $client->getResponse(); static::assertEquals(200, $response->getStatusCode()); - static::assertStringContainsString('Test.svg', $crawler->filter('h1')->text()); + static::assertStringContainsString('SVG Translate test - valid.svg', $crawler->filter('h1')->text()); } public function testNonSvgHandling(): void