Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jun 26, 2024
1 parent 9ddfdad commit cef04f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/VCS/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand All @@ -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']);
}

Expand Down

0 comments on commit cef04f3

Please sign in to comment.