fix: documentation update breaking urls in test and readme (#1020)

* test: fixed test pointing to removed url file

* chore: updated readme screenshots
This commit is contained in:
Felipe Martin 2024-12-08 16:05:53 +01:00 committed by GitHub
parent bb7bfcc2c2
commit 617f5ddcd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ Shiori is distributed under the terms of the [MIT license][mit], which means you
[documentation]: https://github.com/go-shiori/shiori/blob/master/docs/index.md
[mit]: https://choosealicense.com/licenses/mit/
[web-extension]: https://github.com/go-shiori/shiori-web-ext
[screenshot]: https://raw.githubusercontent.com/go-shiori/shiori/master/docs/readme/cover.png
[mode-comparison]: https://raw.githubusercontent.com/go-shiori/shiori/master/docs/readme/comparison.png
[screenshot]: https://raw.githubusercontent.com/go-shiori/shiori/master/docs/assets/screenshots/cover.png
[mode-comparison]: https://raw.githubusercontent.com/go-shiori/shiori/master/docs/assets/screenshots/comparison.png
[pocket]: https://getpocket.com/
[256]: https://github.com/go-shiori/shiori/issues/256

View file

@ -39,7 +39,7 @@ func TestDownloadBookImage(t *testing.T) {
require.NoError(t, err)
require.NoError(t, os.Chdir(tmpDir))
// Arrange
imageURL := "https://raw.githubusercontent.com/go-shiori/shiori/master/docs/readme/cover.png"
imageURL := "https://raw.githubusercontent.com/go-shiori/shiori/master/docs/assets/screenshots/cover.png"
dstFile := "." + string(fp.Separator) + "cover.png"
// Act