Skip to content

Commit

Permalink
Test that ronin-db migrate works.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 30, 2024
1 parent c6c6a7f commit a95948d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/ronin_install_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,12 @@ function test_ronin_install()
assertCommandInstalled "did not successfully install ronin" 'ronin'
}

function test_ronin_db_migrate()
{
ronin-db migrate

assertFile "did not successfully create the ~/.local/share/ronin-db/default.sqlite3 database" \
"$HOME/.local/share/ronin-db/default.sqlite3"
}

SHUNIT_PARENT=$0 . $SHUNIT2

0 comments on commit a95948d

Please sign in to comment.