projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
symfony
/
event-dispatcher
/
Tests
/
GenericEventTest.php
diff --git
a/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php
b/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php
index c84d3ac24c3b1954090db085949609c45d0e7627..b63f69df1456f153c4108b3d09be8db0318aba1c 100644
(file)
--- a/
vendor/symfony/event-dispatcher/Tests/GenericEventTest.php
+++ b/
vendor/symfony/event-dispatcher/Tests/GenericEventTest.php
@@
-31,8
+31,6
@@
class GenericEventTest extends TestCase
*/
protected function setUp()
{
*/
protected function setUp()
{
- parent::setUp();
-
$this->subject = new \stdClass();
$this->event = new GenericEvent($this->subject, array('name' => 'Event'));
}
$this->subject = new \stdClass();
$this->event = new GenericEvent($this->subject, array('name' => 'Event'));
}
@@
-44,8
+42,6
@@
class GenericEventTest extends TestCase
{
$this->subject = null;
$this->event = null;
{
$this->subject = null;
$this->event = null;
-
- parent::tearDown();
}
public function testConstruct()
}
public function testConstruct()
@@
-114,8
+110,8
@@
class GenericEventTest extends TestCase
public function testOffsetIsset()
{
public function testOffsetIsset()
{
- $this->assert
True(isset($this->event['name'])
);
- $this->assert
False(isset($this->event['nameNotExist'])
);
+ $this->assert
ArrayHasKey('name', $this->event
);
+ $this->assert
ArrayNotHasKey('nameNotExist', $this->event
);
}
public function testHasArgument()
}
public function testHasArgument()