File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "php" : " >=5.3.0" ,
88 "react/cache" : " ~0.4.0|~0.3.0" ,
99 "react/socket" : " ~0.4.0|~0.3.0" ,
10- "react/promise" : " ~2.0 |~1.1 "
10+ "react/promise" : " ~2.1 |~1.2 "
1111 },
1212 "autoload" : {
1313 "psr-4" : { "React\\ Dns\\ " : " src" }
Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ public function testResolveInvalidRejects()
3535
3636 public function testResolveCancelledRejectsImmediately ()
3737 {
38- if (!interface_exists ('React\Promise\CancellablePromiseInterface ' )) {
39- $ this ->markTestSkipped ();
40- }
41-
4238 $ promise = $ this ->resolver ->resolve ('google.com ' );
4339 $ promise ->then ($ this ->expectCallableNever (), $ this ->expectCallableOnce ());
4440 $ promise ->cancel ();
Original file line number Diff line number Diff line change @@ -64,10 +64,6 @@ public function resolveShouldCreateTcpRequestIfRequestIsLargerThan512Bytes()
6464 /** @test */
6565 public function resolveShouldCloseConnectionWhenCancelled ()
6666 {
67- if (!interface_exists ('React\Promise\CancellablePromiseInterface ' )) {
68- $ this ->markTestSkipped ('Skipped missing CancellablePromiseInterface ' );
69- }
70-
7167 $ conn = $ this ->createConnectionMock ();
7268 $ conn ->expects ($ this ->once ())->method ('close ' );
7369
Original file line number Diff line number Diff line change @@ -133,10 +133,6 @@ public function queryShouldForwardNonTimeoutErrors()
133133 */
134134 public function queryShouldCancelQueryOnCancel ()
135135 {
136- if (!interface_exists ('React\Promise\CancellablePromiseInterface ' )) {
137- $ this ->markTestSkipped ('Skipped missing CancellablePromiseInterface ' );
138- }
139-
140136 $ cancelled = 0 ;
141137
142138 $ executor = $ this ->createExecutorMock ();
You can’t perform that action at this time.
0 commit comments