[fix] settings - displayed name is SearXNG

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-09-12 16:58:49 +02:00
parent 823a2fc792
commit de5a8ee7d7
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
general:
debug: false # Debug mode, only for development
instance_name: "searxng" # displayed name
instance_name: "SearXNG" # displayed name
contact_url: false # mailto:contact@example.com
brand:

View file

@ -99,7 +99,7 @@ class ViewsTestCase(SearxTestCase):
def test_search_empty_html(self):
result = self.app.post('/search', data={'q': ''})
self.assertEqual(result.status_code, 200)
self.assertIn(b'<span class="instance pull-left"><a href="/">searxng</a></span>', result.data)
self.assertIn(b'<span class="instance pull-left"><a href="/">SearXNG</a></span>', result.data)
def test_search_empty_json(self):
result = self.app.post('/search', data={'q': '', 'format': 'json'})