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()
122
122
public function testGetFirstVisitAt ()
123
123
{
124
124
$ 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
+ );
126
131
}
127
132
128
133
public function testGetLastVisitAt ()
129
134
{
130
135
$ 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
+ );
132
142
}
133
143
134
144
public function testLogNewVisitor ()
You can’t perform that action at this time.
0 commit comments