Add test for determinePacmanDatabaseDirectory

This commit is contained in:
ProfessionalUwU 2023-06-04 23:15:16 +02:00
parent 81fc8f1883
commit 4f474591da
Signed by: ProfessionalUwU
GPG Key ID: 013AD77C0A9DD3F2

View File

@ -0,0 +1,12 @@
using Pacserver.Utils;
namespace Pacserver.Tests;
public class pacmanDatabase_Test {
[Fact]
public void doesPacmanDatabaseExist() {
string result = PacserverUtils.determinePacmanDatabaseDirectory();
Assert.Equivalent(result, "/var/lib/pacman/");
}
}