summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2026-09-11refactor(receiver, webhook, utils): replace commons validatoreltrac
used java.net to create a small validator that passes the test refactor: rename validator to url, and move other url funcs here
2026-09-11refactor(verifier, utils, webhook): replace hato with http-kiteltrac
since http-kit handle both server and client, hato as a client can be replaced
2026-09-10test(storage, spec): add conformity check before loading storage; add spec ↵eltrac
and test case #7
2026-09-10test(utils): valid-http-url-test add non-ASCII url test caseseltrac
2026-05-19fix: same URL with different anchor mistaken as differenteltrac
test(receiver): URL anchor removal test fix: not putting the correct wm object in queue after anchor removal
2026-05-12fix(test): adapt to new app parameterseltrac
2026-05-12refactor(processor): do not depend on config directlyeltrac
2026-05-12refactor(receiver): do not depend on config directlyeltrac
2026-05-11style: reformat tests and remove redudant parentheses around deftesteltrac
2026-05-09fix(test/handler): RSS feed with empty items were meant to respond 404eltrac
add a new test case that expects 404 when domain is allowed but webmentions are not found. modify previous test case that expects 404 to one that expects 200 when domain is allowed and webmentions are found.
2026-05-09refactor(config): feed/handler.clj no longer depend on config.cljeltrac
2026-05-09test(handler): test most of routes availabilityeltrac
2026-05-08fix(test): edge cases were always passing because target is not valideltrac
Test cases were using fake URL https://alice.blog/... as targets and newly refactored verify-mention function make HEAD requests to target URL to verify Content-Type. If request fails, verify-mention also returns false. This new behavior makes the old test always pass since all we're checking is if it returns a falsy value. The fix replaced alice.blog fake URL with a localhost URL that actually exists.
2026-05-08fix(test): tests fail due to non-exisiting target URLeltrac
In verifier_test, fake target links were used because weepinbell did not make actual requests to target links until recent changes to verifier/verify-mention. Now target links must be valid URL because we need to determine it's Content-Type during verification. So the previous test cases need modifying.
2026-05-08refactor(test): move with-webmention macro to test_utility.cljeltrac
2026-05-08perf(test/processor): shorten deref timeout durationeltrac
2026-05-08test(processor): test updating and deleting exisiting webmentionseltrac
2026-05-07refactor(test/processor): DRYness with macroeltrac
2026-05-07test(processor): add failure test caseseltrac
2026-05-07test(processor): add processor test with new-webmention testeltrac
2026-05-07fix(test/verifier): wrong nseltrac
2026-05-07refactor(test): rename processor_test to verifier_testeltrac
verification functions were moved from processor.clj to verifier.clj
2026-05-04test(processor): edge caseseltrac
2026-05-04refactor(test/processor): I'm too weak to play with macroseltrac
2026-05-04test(processor): happy paths test for webmention verificationeltrac
2026-05-04style: reformat utils_test.cljeltrac
2026-05-03style: missing name for webhook-testeltrac
2026-05-03text(receiver): in-queue test for receivereltrac
2026-05-03style(test/receiver): comments and formateltrac
2026-05-03fix(test/receiver): happy paths assertions faileltrac
Tried to match response body but got way too complicated. Only asserts status code (201) and test cases now work fine.
2026-05-03fix(test/receiver): missing doall after defining test caseseltrac
2026-05-03test(receiver): unit tests for receiver error handlingeltrac
2026-04-29test: write unit tests for utilseltrac
those lacking a test are ones needed to be refactored and even eliminated.
2026-04-27test(webhook): unit test for webhookeltrac
2026-04-20test: add dependencies for testingeltrac
2026-02-25chore: reinitialize as a web app using Compojureeltrac
2026-02-21initial commiteltrac