Fix tests
parent
c7da7e55c9
commit
152694b574
|
@ -2465,8 +2465,8 @@ class JsonManipulatorTest extends TestCase
|
|||
}
|
||||
', $manipulator->getContents());
|
||||
|
||||
$this->assertFalse($manipulator->removeMainKeyIfEmpty('foo'));
|
||||
$this->assertFalse($manipulator->removeMainKeyIfEmpty('require'));
|
||||
$this->assertTrue($manipulator->removeMainKeyIfEmpty('foo'));
|
||||
$this->assertTrue($manipulator->removeMainKeyIfEmpty('require'));
|
||||
$this->assertTrue($manipulator->removeMainKeyIfEmpty('require-dev'));
|
||||
$this->assertEquals('{
|
||||
"require": {
|
||||
|
|
Loading…
Reference in New Issue