Skip to content

Commit f25d857

Browse files
committed
Fix tests
1 parent ba40d47 commit f25d857

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Icons/src/Command/ImportIconCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8484
$license = $this->iconify->metadataFor($prefix)['license'];
8585

8686
$io->text(sprintf(
87-
" <fg=bright-green;options=bold>✓</> Imported <fg=bright-white;bg=black> %s:</><fg=bright-magenta;bg=black;options>%s </> (License: <href=%s>%s</>). Render with: <comment>{{ ux_icon('%s') }}</comment>",
87+
" <fg=bright-green;options=bold>✓</> Imported <fg=bright-white;bg=black>%s:</><fg=bright-magenta;bg=black;options>%s</> (License: <href=%s>%s</>). Render with: <comment>{{ ux_icon('%s') }}</comment>",
8888
$prefix,
8989
$name,
9090
$license['url'],

src/Icons/tests/Integration/Command/ImportIconCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testCanImportIcon(): void
4646
$this->executeConsoleCommand('ux:icons:import uiw:dashboard')
4747
->assertSuccessful()
4848
->assertOutputContains('Importing uiw:dashboard')
49-
->assertOutputContains("Imported uiw:dashboard (License: MIT), render with {{ ux_icon('uiw:dashboard') }}")
49+
->assertOutputContains("Imported uiw:dashboard (License: MIT). Render with: {{ ux_icon('uiw:dashboard') }}")
5050
;
5151

5252
$this->assertFileExists($expectedFile);

0 commit comments

Comments
 (0)