From 152694b5740b0be0049e2eec15b13e368b494071 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 22 Nov 2020 14:31:38 +0100 Subject: [PATCH] Fix tests --- tests/Composer/Test/Json/JsonManipulatorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": {