File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
app/code/Magento/Log/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -122,13 +122,23 @@ public function testGetUrl()
122122 public function testGetFirstVisitAt ()
123123 {
124124 $ time = time ();
125- $ this ->assertEquals ($ time , $ this ->visitor ->getFirstVisitAt ());
125+ $ this ->assertEquals (
126+ $ time ,
127+ $ this ->visitor ->getFirstVisitAt (),
128+ 'VisitorTest failed to assert the time for the first visit within 5 seconds. ' ,
129+ 5
130+ );
126131 }
127132
128133 public function testGetLastVisitAt ()
129134 {
130135 $ time = time ();
131- $ this ->assertEquals ($ time , $ this ->visitor ->getLastVisitAt ());
136+ $ this ->assertEquals (
137+ $ time ,
138+ $ this ->visitor ->getLastVisitAt (),
139+ 'VisitorTest failed to assert the time for the last visit within 5 seconds. ' ,
140+ 5
141+ );
132142 }
133143
134144 public function testLogNewVisitor ()
You can’t perform that action at this time.
0 commit comments