1
0
mirror of synced 2025-02-03 05:49:25 +03:00

Rename data provider so that it doesn't get executed as test

This commit is contained in:
Luís Cobucci 2017-05-31 08:22:19 +02:00
parent 8dccd27b52
commit ee5f222c58
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -61,7 +61,7 @@ class HydrationCompleteHandlerTest extends TestCase
} }
/** /**
* @dataProvider testGetValidListenerInvocationFlags * @dataProvider invocationFlagProvider
* *
* @param int $listenersFlag * @param int $listenersFlag
*/ */
@ -99,7 +99,7 @@ class HydrationCompleteHandlerTest extends TestCase
} }
/** /**
* @dataProvider testGetValidListenerInvocationFlags * @dataProvider invocationFlagProvider
* *
* @param int $listenersFlag * @param int $listenersFlag
*/ */
@ -125,7 +125,7 @@ class HydrationCompleteHandlerTest extends TestCase
} }
/** /**
* @dataProvider testGetValidListenerInvocationFlags * @dataProvider invocationFlagProvider
* *
* @param int $listenersFlag * @param int $listenersFlag
*/ */
@ -187,7 +187,7 @@ class HydrationCompleteHandlerTest extends TestCase
$this->handler->hydrationComplete(); $this->handler->hydrationComplete();
} }
public function testGetValidListenerInvocationFlags() public function invocationFlagProvider()
{ {
return [ return [
[ListenersInvoker::INVOKE_LISTENERS], [ListenersInvoker::INVOKE_LISTENERS],