aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 21:29:28 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 21:29:28 +0100
commit721bf787610d193e924d3972e8575a5c694a2fda (patch)
tree2f9597f3635bbb9e929e2e6d5d5eeef95eb71338
parent2c8c6cd5a74d4bff1960be17436d1656f6ffa6a8 (diff)
downloadEvent-721bf787610d193e924d3972e8575a5c694a2fda.zip
Event-721bf787610d193e924d3972e8575a5c694a2fda.tar.gz
Event-721bf787610d193e924d3972e8575a5c694a2fda.tar.bz2
Test: Fix a conflict between 2 test suites.
-rw-r--r--Test/Unit/Listens.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/Unit/Listens.php b/Test/Unit/Listens.php
index df0c819..5bd6e6c 100644
--- a/Test/Unit/Listens.php
+++ b/Test/Unit/Listens.php
@@ -54,7 +54,7 @@ class Listens extends Test\Unit\Suite
{
$this
->given(
- $listenable = new Listenable(),
+ $listenable = new _Listenable(),
$listener = new LUT\Listener($listenable, ['foo'])
)
->when($result = $listenable->_setListener($listener))
@@ -67,7 +67,7 @@ class Listens extends Test\Unit\Suite
{
$this
->given(
- $listenable = new Listenable(),
+ $listenable = new _Listenable(),
$listener = new LUT\Listener($listenable, ['foo']),
$listenable->_setListener($listener)
)
@@ -81,7 +81,7 @@ class Listens extends Test\Unit\Suite
{
$this
->given(
- $listenable = new Listenable(),
+ $listenable = new _Listenable(),
$listener = new LUT\Listener($listenable, ['foo']),
$listenable->_setListener($listener),
$callable = function () use (&$called) {
@@ -105,7 +105,7 @@ class Listens extends Test\Unit\Suite
{
$this
->given(
- $listenable = new Listenable(),
+ $listenable = new _Listenable(),
$listener = new LUT\Listener($listenable, ['foo']),
$listenable->_setListener($listener)
)
@@ -116,7 +116,7 @@ class Listens extends Test\Unit\Suite
}
}
-class Listenable implements LUT\Listenable
+class _Listenable implements LUT\Listenable
{
use SUT;