File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ public function option($option)
257
257
/**
258
258
* Gets a unique test token.
259
259
*
260
- * @return int |false
260
+ * @return string |false
261
261
*/
262
262
public function token ()
263
263
{
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ public function testCallbacks($callback)
36
36
$ this ->assertNull ($ testCase );
37
37
}
38
38
39
- $ this ->assertEquals ( 1 , $ token );
39
+ $ this ->assertSame ( ' 1 ' , $ token );
40
40
$ state = true ;
41
41
});
42
42
43
43
$ parallelTesting ->{$ caller }($ this );
44
44
$ this ->assertFalse ($ state );
45
45
46
46
$ parallelTesting ->resolveTokenUsing (function () {
47
- return 1 ;
47
+ return ' 1 ' ;
48
48
});
49
49
50
50
$ parallelTesting ->{$ caller }($ this );
@@ -80,10 +80,10 @@ public function testToken()
80
80
$ this ->assertFalse ($ parallelTesting ->token ());
81
81
82
82
$ parallelTesting ->resolveTokenUsing (function () {
83
- return 1 ;
83
+ return ' 1 ' ;
84
84
});
85
85
86
- $ this ->assertSame (1 , $ parallelTesting ->token ());
86
+ $ this ->assertSame (' 1 ' , $ parallelTesting ->token ());
87
87
}
88
88
89
89
public function callbacks ()
You can’t perform that action at this time.
0 commit comments