diff --git a/tests/Composer/Test/Json/JsonManipulatorTest.php b/tests/Composer/Test/Json/JsonManipulatorTest.php index 74243ca71..9f3b9e7fe 100644 --- a/tests/Composer/Test/Json/JsonManipulatorTest.php +++ b/tests/Composer/Test/Json/JsonManipulatorTest.php @@ -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": {