Merge pull request #1792 from yfdyh000/sitetitle

This commit is contained in:
ArthurHoaro 2022-08-13 10:21:48 +02:00 committed by GitHub
commit 130008da03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -131,7 +131,7 @@ class InstallController extends ShaarliVisitorController
} else {
$this->container->conf->set(
'general.title',
'Shared bookmarks on ' . escape(index_url($this->container->environment))
t('Shared Bookmarks')
);
}

View file

@ -266,7 +266,7 @@ class InstallControllerTest extends TestCase
static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
static::assertSame('UTC', $confSettings['general.timezone']);
static::assertSame('Shared bookmarks on http://shaarli/subfolder/', $confSettings['general.title']);
static::assertSame('Shared Bookmarks', $confSettings['general.title']);
}
/**
@ -299,6 +299,6 @@ class InstallControllerTest extends TestCase
static::assertSame('/login', $result->getHeader('location')[0]);
static::assertSame('UTC', $confSettings['general.timezone']);
static::assertSame('Shared bookmarks on http://shaarli/', $confSettings['general.title']);
static::assertSame('Shared Bookmarks', $confSettings['general.title']);
}
}