Skip to content

Commit

Permalink
Minor fix of Database test data
Browse files Browse the repository at this point in the history
  • Loading branch information
aannenko committed Oct 21, 2024
1 parent a7317ee commit 20fac8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async Task AddOneAsync_AddsTorrent_WhenItDoesNotConflictWithExistingTorre
name: "New TV show",
webPageUri: "https://torrentTracker.com/forum/viewtopic.php?t=1234570",
downloadDir: "/tvshows",
magnetRegexPattern: @"\""(?<magnet>magnet:\?xt=urn:.*?)\""",
magnetRegexPattern: @"magnet:\?xt=urn:[^""]*",
cron: "0 10,18 * * *");

var torrentId = await service.AddOneAsync(dto);
Expand Down Expand Up @@ -82,7 +82,7 @@ public async Task TryUpdateOneByIdAsync_UpdatesTorrent_WhenItCanBeFoundById()
hashString: "98ad2e3a694dfc69571c25241bd4042b94a55cf5",
name: "New torrent name",
downloadDir: "/videos",
magnetRegexPattern: @"\""(?<magnet>magnet:\?xt=.*?)\""",
magnetRegexPattern: @"magnet:\?xt=[^""]*",
cron: "1 2,3 4 5 6");

var isUpdated = await service.TryUpdateOneByIdAsync(1, dto);
Expand Down

0 comments on commit 20fac8b

Please sign in to comment.