diff --git a/tests/VCS/Base.php b/tests/VCS/Base.php index 8e1d0b6..b87413b 100644 --- a/tests/VCS/Base.php +++ b/tests/VCS/Base.php @@ -99,6 +99,7 @@ public function testListRepositoryContents(): void } } $this->assertNotNull($fileContent); + $this->assertNotEmpty($fileContent['name']); $this->assertStringContainsString('.', $fileContent['name']); $this->assertIsNumeric($fileContent['size']); $this->assertGreaterThan(0, $fileContent['size']); @@ -111,7 +112,8 @@ public function testListRepositoryContents(): void } } $this->assertNotNull($directoryContent); - $this->assertIsNumeric($fileContent['size']); + $this->assertNotEmpty($directoryContent['name']); + $this->assertIsNumeric($directoryContent['size']); $this->assertEquals(0, $directoryContent['size']); }