Update nixos/tests/ihatemoney.nix

Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
This commit is contained in:
symphorien 2020-01-05 22:04:42 +00:00 committed by GitHub
parent 54b0ab0ac6
commit b8b9e7be6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ in map (backend: makeTest {
$machine->start();
$machine->waitForOpenPort(8000);
$machine->waitForUnit("uwsgi.service");
# check that the database is really persitent
# check that the database is really persistent
print $machine->succeed("curl --basic -u yay:yay http://localhost:8000/api/projects/yay");
# check that the secret key is really persistent
my $timestamp2 = $machine->succeed("stat --printf %Y /var/lib/ihatemoney/secret_key");