Skip to content

Commit 129f1dc

Browse files
committed
Updates to tests
1 parent 494df84 commit 129f1dc

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

Tests/DependencyInjection/NetgenOpenGraphExtensionTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
class NetgenOpenGraphExtensionTest extends AbstractExtensionTestCase
99
{
10+
/**
11+
* @doesNotPerformAssertions
12+
*/
1013
public function testItSetsValidContainerParameters()
1114
{
1215
$this->container->setParameter('ezpublish.siteaccess.list', array());

Tests/Handler/RegistryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public function testAddingHandlers()
2222
{
2323
$handler = $this->getMockForAbstractClass(HandlerInterface::class);
2424
$this->registry->addHandler('some_handler', $handler);
25+
26+
$this->assertEquals($this->registry->getHandler('some_handler'), $handler);
2527
}
2628

2729
public function testGettingHandlers()

Tests/Templating/Twig/Extension/NetgenOpenGraphExtensionTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public function testGetName()
6363
$this->assertEquals('netgen_open_graph', $this->extension->getName());
6464
}
6565

66+
/**
67+
* @doesNotPerformAssertions
68+
*/
6669
public function testSetThrowExceptions()
6770
{
6871
$this->extension->setThrowExceptions(true);

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
"ezsystems/ezpublish-kernel": "^6.0|^7.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^4.8|^5.7",
26-
"matthiasnoback/symfony-config-test": "~2.0",
27-
"matthiasnoback/symfony-dependency-injection-test": "~1.0"
25+
"ezsystems/ezplatform-xmltext-fieldtype": "^1.4",
26+
"phpunit/phpunit": "^5.7|^6.5",
27+
"matthiasnoback/symfony-config-test": "^2.2|^3.1",
28+
"matthiasnoback/symfony-dependency-injection-test": "^1.2|^2.3"
2829
},
2930
"autoload": {
3031
"psr-4": {

0 commit comments

Comments
 (0)