fixed an issue with a test
Build image / build (push) Waiting to run Details
Unit Tests with cargo / unit-test (push) Has been cancelled Details

This commit is contained in:
Alie 2024-01-29 14:24:20 +01:00
parent 3de985cf48
commit cfea73c6e8
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ mod tests {
fn get_next_url_works() { fn get_next_url_works() {
let config = get_config(); let config = get_config();
// Reset file // Reset file
std::fs::write(&config.files.urls, &TEST_URL).unwrap();
std::fs::write(&config.files.posted, "").unwrap(); std::fs::write(&config.files.posted, "").unwrap();
// Get test url // Get test url