aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* fix byline-favourited and byline-boosted testsmarty hiatt2022-11-261-16/+18
|
* profile-tests add nil call to get-jsonmarty hiatt2022-11-251-1/+1
|
* tweak joined date newlines printing + testmarty hiatt2022-11-251-1/+2
|
* remove trailing double space from sparatormarty hiatt2022-11-251-2/+2
| | | | tl-tests: remove trailing double spaces from separator again
* tl-tests: fix stray double space after separatormarty hiatt2022-11-251-6/+6
|
* Merge branch 'params-always-in-http-el' into developmarty hiatt2022-11-243-27/+35
|\
| * fix some tests due to paramsmarty hiatt2022-11-222-24/+32
| |
| * params always in http.el, only ever send alists from elsewhere.marty hiatt2022-11-211-4/+4
| | | | | | | | probably incomplete but mostly done.
| * fix joined date in profile-testsmarty hiatt2022-11-211-58/+60
| |
* | Merge branch 'autoload-notifs-get' into developmarty hiatt2022-11-221-1/+1
|\ \
| * | make mastodon-notifications-get a global functionmarty hiatt2022-11-211-1/+1
| |/ | | | | | | | | | | | | | | | | so we can view notifs without first openin other masto buffers - move it to mastodon.el - autoload cookie - rename all instances - pray the keymap works
* | mock mastodon-profile--format-joined-date-string in profie testmarty hiatt2022-11-221-0/+2
| |
* | fix joined date in profile tests 2marty hiatt2022-11-221-2/+2
| |
* | fix joined date in profile-testsmarty hiatt2022-11-211-58/+60
|/ | | | fix profile test joined date
* fix toot del/pin testsmarty hiatt2022-11-211-19/+22
|
* http--post - make args + headers optional argsmarty hiatt2022-11-192-53/+53
| | | | also update all calls to it, no need for nil nil everywhere.
* -- separator for profile/tl funs in other filesmarty hiatt2022-11-182-62/+62
|
* fix make-author-buffer test: include header imgmarty hiatt2022-11-121-1/+1
|
* hack fix -toot--kill test: set mastodon-toot-previous-window-configmarty hiatt2022-11-121-4/+7
|
* fix profile--make-author-buffer test: json array list not vectormarty hiatt2022-11-121-1/+1
|
* add mock to fix author buffer test and notifs-getmarty hiatt2022-09-122-1/+6
|
* fix spoiler text and indent tl-testsmarty hiatt2022-09-122-57/+60
|
* fix http-get-retrieves testmarty hiatt2022-09-031-2/+2
|
* test profile buffer for - change time stamp for woodpeckermarty hiatt2022-08-271-2/+2
|
* update ert-helper to load all tests filesmarty hiatt2022-08-271-0/+8
|
* masto notifs tests filename correctmarty hiatt2022-08-271-1/+1
|
* Merge pull request '2FA login support' (#255) from ↵martianh2022-03-233-57/+97
|\ | | | | | | | | | | Red_Starfish/mastodon-up.el:login into develop Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/255
| * test: fix `mastodon-auth--access-token-not-found'Abhiseck Paira2022-02-251-0/+1
| |
| * test: add `mastodon-auth--user-unaware'Abhiseck Paira2022-02-251-0/+8
| | | | | | | | | | Test for the situation when old mastodon.el users are unaware of the variable `mastodon-active-user'.
| * change '-' to '--' in between function and namespace namesAbhiseck Paira2022-02-232-10/+10
| | | | | | | | | | | | | | | | mastodon.el currently follows the convention where all function names should have two dashes (not one dash) in between function and namespace names. Update all function names to follow this convention. See issue #205 and pull request #255
| * test: add more testAbhiseck Paira2022-02-161-0/+51
| | | | | | | | | | | | | | | | | | Add the following tests: * mastodon-client--current-user-active-p * mastodon-client-store-access-token * mastodon-client-make-user-active * mastodon-client-form-user-from-vars
| * test: add test for mastodon-client--general-readAbhiseck Paira2022-02-161-0/+21
| |
| * test: merge mastodon-client--store1 and *store2Abhiseck Paira2022-02-111-14/+11
| | | | | | | | | | | | Merge `mastodon-client--store1' and `mastodon-client--store2' into a single test `mastodon-client--store' that test the function with the same name.
| * test: fix mastodon-auth--access-token-not-foundAbhiseck Paira2022-01-271-0/+2
| | | | | | | | | | | | | | Since the function `mastodon-auth--handle-token-response' now calls `mastodon-client-store-access-token' and `mastodon-client-make-user-active', define mock and stub for them respectively.
| * test: remove tests for non existent functionsAbhiseck Paira2022-01-271-41/+0
| | | | | | | | | | | | | | Remove the tests `mastodon-auth--generate-token--no-storing-credentials' and `mastodon-auth--generate-token--storing-credentials' as functions with similar names no longer exist (due to implementation of the new login mechanism)
| * test: update client website in mastodon-client--registerAbhiseck Paira2022-01-271-1/+1
| | | | | | | | | | | | | | | | The test `mastodon-client--register' specifies that the `mastodon-http--post' be called with a specific value. The value it specified is outdated since mastodon.el's current website has changed. So update the value with URL of the current website.
| * test: change mastodon files loading orderAbhiseck Paira2022-01-271-1/+1
| | | | | | | | | | | | | | | | | | Before tests start test/ert-helper.el file is loaded which in turn loads other lisp/* files so that required functions and variables are defined during tests. Load lisp/mastodon.el file first before loading other files this solves the complain during tests that `mastodon-active-user' is not defined.
* | ert-helper: load mastodon.el before -profile so mastodon-mode-map is availmousebot2022-02-171-1/+1
| |
* | Merge branch 'mpv-play-at-point' into developmousebot2022-02-131-1/+1
|\ \
| * \ Merge branch 'develop' into mpv-play-at-pointmousebot2022-02-121-1/+4
| |\ \
| * | | fix media-link-rendering-gif testmousebot2022-02-111-1/+1
| | |/ | |/|
* | | Merge branch 'develop' of codeberg.org:martianh/mastodon.el into developmousebot2022-02-121-0/+288
|\ \ \
| * | | Add tests for mastodon-profile.Holger Dürer2022-02-121-0/+288
| | | | | | | | | | | | | | | | These are completely missing so far so let's get some things added.
* | | | Merge branch 'develop' of codeberg.org:martianh/mastodon.el into developmousebot2022-02-121-1/+1
|\| | | | |_|/ |/| |
| * | Fix the timer test that was broken with the recent timer fix.Holger Dürer2022-02-121-1/+1
| |/ | | | | | | | | When we corrected the time arg for `run-at-time` we forgot to update the corresponding test which was strictly checking the time arg.
* / fix search-get-user-info test broken by follow suggestionsmousebot2022-02-111-1/+4
|/
* making a start on pinned toot testsmousebot2021-12-201-1/+31
|
* tests for own-toot-pmousebot2021-12-201-21/+36
|
* improve delete toot testsmousebot2021-12-202-7/+9
|
* delete toot test use temp buffermousebot2021-12-201-15/+44
|