Update tests/lib/SystemTag/SystemTagManagerTest.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/36837/head
Marcel Klehr 3 years ago committed by GitHub
parent 8151b1b8b0
commit 889caf4632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      tests/lib/SystemTag/SystemTagManagerTest.php

@ -260,11 +260,8 @@ class SystemTagManagerTest extends TestCase {
}
public function testCreateOverlongName() {
try {
$this->tagManager->createTag('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas, Salão de Física, Torre Sineira, Paço Velho e Jardim Botânico)', true, true);
} catch (\Exception $e) {
$this->assertTrue(false, 'No exception thrown for create call');
}
$tag = $this->tagManager->createTag('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas, Salão de Física, Torre Sineira, Paço Velho e Jardim Botânico)', true, true);
$this->assertSame('Zona circundante do Palácio Nacional da Ajuda (Jardim das Damas,', $tag->getName());
}
/**

Loading…
Cancel
Save