[omd-commits] OMD Git: omd: Fixed nagvis tests

git version control git at mathias-kettner.de
Fri Jun 3 20:07:51 CEST 2016


Module:   omd
Branch:   master
Commit:   6590a3a663d3b6d5480a5d755d3fa4262694f426
URL:      http://omdistro.org/projects/omd/repository/revisions/6590a3a663d3b6d5480a5d755d3fa4262694f426

Author:   Lars Michelsen <lm at larsmichelsen.com>
Date:     Fri Jun  3 20:07:49 2016 +0200
Commiter: Lars Michelsen <lm at larsmichelsen.com>
Date:     Fri Jun  3 20:07:49 2016 +0200

Fixed nagvis tests

---

 t/20-package_nagvis.t |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/t/20-package_nagvis.t b/t/20-package_nagvis.t
index bfe539a..97a0bd2 100644
--- a/t/20-package_nagvis.t
+++ b/t/20-package_nagvis.t
@@ -12,6 +12,8 @@ BEGIN {
     use lib "$FindBin::Bin/lib/lib/perl5";
 }
 
+use utf8;
+
 my $sitename  = "testsite";
 
 my $num_tests = 351;
@@ -177,7 +179,7 @@ my $urls = [
   
     # Language switch
     url({ url  => "/nagvis/frontend/nagvis-js/index.php?lang=de_DE",
-          like => '/Sprache wählen/'}),
+          like => '/Sprache wählen/'}),
   
     # Language switch back
     url({ url  => "/nagvis/frontend/nagvis-js/index.php?lang=en_US",
@@ -411,7 +413,7 @@ TestUtils::test_url(
 ###############################################################################
 # Language switch
 TestUtils::test_url(url({ url  => "/nagvis/frontend/nagvis-js/index.php?lang=de_DE",
-                          like => '/Sprache wählen/'}));
+                          like => '/Sprache wählen/'}));
 
 # Check profile file
 site_match_file($site, 'var/nagvis/profiles/omdadmin.profile', '/"language":"de_DE"/');



More information about the omd-commits mailing list