1
0
Fork 0

Fix tests

pull/9517/head
Jordi Boggiano 2020-11-22 14:31:38 +01:00
parent c7da7e55c9
commit 152694b574
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 2 deletions

View File

@ -2465,8 +2465,8 @@ class JsonManipulatorTest extends TestCase
} }
', $manipulator->getContents()); ', $manipulator->getContents());
$this->assertFalse($manipulator->removeMainKeyIfEmpty('foo')); $this->assertTrue($manipulator->removeMainKeyIfEmpty('foo'));
$this->assertFalse($manipulator->removeMainKeyIfEmpty('require')); $this->assertTrue($manipulator->removeMainKeyIfEmpty('require'));
$this->assertTrue($manipulator->removeMainKeyIfEmpty('require-dev')); $this->assertTrue($manipulator->removeMainKeyIfEmpty('require-dev'));
$this->assertEquals('{ $this->assertEquals('{
"require": { "require": {