mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Update file information to reflect new API selectors
This commit is contained in:
parent
c9be8ae945
commit
d254c5c541
@ -31,11 +31,11 @@ class WaybackMachineDownloaderTest < Minitest::Test
|
|||||||
|
|
||||||
def test_file_list_by_timestamp
|
def test_file_list_by_timestamp
|
||||||
file_expected = {
|
file_expected = {
|
||||||
file_id: "Fs-06.jpg",
|
file_url: "http://www.onlyfreegames.net:80/strat.html",
|
||||||
file_url: "http://www.onlyfreegames.net:80/Fs-06.jpg",
|
timestamp: 20060111084756,
|
||||||
timestamp: 20060716125343
|
file_id: "strat.html"
|
||||||
}
|
}
|
||||||
assert_equal file_expected, @wayback_machine_downloader.get_file_list_by_timestamp[-1]
|
assert_equal file_expected, @wayback_machine_downloader.get_file_list_by_timestamp[-2]
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_file_list_only_filter_without_matches
|
def test_file_list_only_filter_without_matches
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user