From a2a7ef1e8be55fa5280228a46f551ec5553c90ff Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Mon, 4 Mar 2013 16:21:55 +1300
Subject: [PATCH] forgot to fail the test

---
 tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php b/tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php
index 611d612c17..e43c9aabe2 100644
--- a/tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php
+++ b/tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php
@@ -98,16 +98,19 @@ class Test_Piwik_Integration_TrackingAPI_SetVisitorId extends IntegrationTestCas
     {
         try {
             $t->setVisitorId('test');
+            $this->fail('should throw');
         } catch(Exception $e) {
             //OK
         }
         try {
             $t->setVisitorId('61e8');
+            $this->fail('should throw');
         } catch(Exception $e) {
             //OK
         }
         try {
             $t->setVisitorId('61e8cc2d51fea26dabcabcabc');
+            $this->fail('should throw');
         } catch(Exception $e) {
             //OK
         }
-- 
GitLab