From e7f3bef3fb56a1c3e05df98e03c4a5731b9645f8 Mon Sep 17 00:00:00 2001 From: Joeli Takala Date: Tue, 2 Nov 2021 10:50:44 +0200 Subject: [PATCH] Final tweaks --- model/VocabularyConfig.php | 2 +- resource/css/styles.css | 2 +- tests/GenericSparqlTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/model/VocabularyConfig.php b/model/VocabularyConfig.php index 6ca5ad268..61325150d 100644 --- a/model/VocabularyConfig.php +++ b/model/VocabularyConfig.php @@ -459,7 +459,7 @@ public function getDefaultSidebarView() $defview = $this->resource->getLiteral('skosmos:defaultSidebarView'); if ($defview) { $value = $defview->getValue(); - if ($value === 'groups' || $value === 'hierarchy' || $value == 'new') { + if ($value === 'groups' || $value === 'hierarchy' || $value === 'new') { return $value; } diff --git a/resource/css/styles.css b/resource/css/styles.css index 51de98bc6..c5737b3ec 100644 --- a/resource/css/styles.css +++ b/resource/css/styles.css @@ -1553,7 +1553,7 @@ tr.replaced-by > td > ul > li > a { .nav-tabs { background-color: #e0e4e7; border-bottom: none; - display: flex; + display: flex; } ul.nav-tabs > li { diff --git a/tests/GenericSparqlTest.php b/tests/GenericSparqlTest.php index 3571a2199..dae9b5881 100644 --- a/tests/GenericSparqlTest.php +++ b/tests/GenericSparqlTest.php @@ -1125,7 +1125,7 @@ public function testQueryChangeListCreatedNoDeprecated() { $voc = $this->model->getVocabulary('changes'); $graph = $voc->getGraph(); - $sparql = new GenericSparql('http://localhost:13030/skosmos-test/sparql', $graph, $this->model); + $sparql = new GenericSparql($this->endpoint, $graph, $this->model); $actual = $sparql->queryChangeList('dc:modified', 'en', 0, 10, false); $order = array();