[omd-commits] OMD Git: omd: More fixes for nagvis tests

git version control git at mathias-kettner.de
Sat Jun 4 15:04:59 CEST 2016


Module:   omd
Branch:   master
Commit:   6f3c3db2e776503b77a48e4bd7ec9dcd7da338dc
URL:      http://omdistro.org/projects/omd/repository/revisions/6f3c3db2e776503b77a48e4bd7ec9dcd7da338dc

Author:   Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat Jun  4 15:04:42 2016 +0200
Commiter: Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat Jun  4 15:04:42 2016 +0200

More fixes for nagvis tests

---

 t/20-package_nagvis.t |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/t/20-package_nagvis.t b/t/20-package_nagvis.t
index 97a0bd2..aea5ce1 100644
--- a/t/20-package_nagvis.t
+++ b/t/20-package_nagvis.t
@@ -16,7 +16,7 @@ use utf8;
 
 my $sitename  = "testsite";
 
-my $num_tests = 351;
+my $num_tests = 347;
 if($ENV{NAGVIS_DEVEL}) {
     $num_tests += 3;
 }
@@ -179,7 +179,8 @@ my $urls = [
   
     # Language switch
     url({ url  => "/nagvis/frontend/nagvis-js/index.php?lang=de_DE",
-          like => '/Sprache wählen/'}),
+          like => '/Sprache wählen/',
+          'skip_html_lint' => 1}),
   
     # Language switch back
     url({ url  => "/nagvis/frontend/nagvis-js/index.php?lang=en_US",
@@ -413,7 +414,8 @@ 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/',
+                          'skip_html_lint' => 1}));
 
 # Check profile file
 site_match_file($site, 'var/nagvis/profiles/omdadmin.profile', '/"language":"de_DE"/');



More information about the omd-commits mailing list