mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
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>
This commit is contained in:
parent
8151b1b8b0
commit
889caf4632
1 changed files with 2 additions and 5 deletions
|
|
@ -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…
Reference in a new issue