Fix tests
parent
c7da7e55c9
commit
152694b574
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue