aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
Commit message (Collapse)AuthorAgeFilesLines
* mod_lastactivity: Add basic scansion test coverageKim Alvefur2020-04-202-0/+46
| | | | When run on Lua 5.3 produces an issue similar to #1536
* mod_uptime: Add scansion test coverageKim Alvefur2020-04-201-0/+21
| | | | | Once the Prosody is up, who cares when it comes down? That's not my department, says scanison.
* scansion: Mock time libraries during testsKim Alvefur2020-04-201-0/+11
| | | | The passage of time does not need test coverage, just look in a mirror.
* mod_version: Add scansion testKim Alvefur2020-04-202-0/+29
| | | | Why was this module enabled in the config for tests if it wasn't tested?
* MUC: Add test for destroying a room by ad-hoc commandKim Alvefur2020-03-201-0/+67
| | | | | Testing ad-hoc commands was not easily doable before 49312378ba1d relaxed the need for state and an extra roundtrip to execute commands
* MUC: Support for broadcasting unavailable presence for affiliated offline usersMatthew Wild2020-03-121-0/+544
| | | | Activated when muc#roomconfig_presencebroadcast includes the "none" role.
* scansion tests: Remove daemonize option, not neededKim Alvefur2020-01-261-1/+0
|
* scansion: Trim trailing whitespace in testsKim Alvefur2019-12-196-9/+9
|
* rostermanager, mod_presence: Support for subscription preapproval (fixes #686)Matthew Wild2019-12-191-0/+74
|
* tests: Disable s2s in scansion testsKim Alvefur2019-11-301-1/+4
| | | | These are all c2s tests, no need to have s2s enabled.
* MUC: Indicate origin of registration related errorsKim Alvefur2019-11-251-2/+2
|
* MUC: Indicate origin of password related errorsKim Alvefur2019-11-251-1/+1
|
* MUC: Add testcase for #1466Kim Alvefur2019-11-241-0/+127
|
* MUC: Make nickname field in registration form requiredKim Alvefur2019-11-021-2/+6
| | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045
* util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵Matthew Wild2019-10-271-0/+234
| | | | (fixes #1455)
* MUC: Fix XML syntax error in testKim Alvefur2019-09-211-0/+1
| | | | How did this even happen?
* MUC: Update test for vcard-temp changesKim Alvefur2019-09-211-4/+11
| | | | | | Should this XEP-0398 behavior even be covered here? The original lines came from a recording.
* tests: Disable TLS in scansion testsKim Alvefur2019-09-071-1/+1
| | | | | | They were not using TLS before. With a36af4570b39 TLS context creation will succeed even without a certificate, so TLS will be offered, but since there is no certificate it does not work.
* MUC: Fix delay tag @from in test to be the room JID (#1054 came back)Kim Alvefur2019-08-311-2/+2
|
* MUC: Add a test covering basic room creation, messages and destructionKim Alvefur2019-08-311-0/+242
|
* Merge 0.11->trunkKim Alvefur2019-06-201-1/+1
|\
| * scansion/blocking: Remove the right irrelevant thingKim Alvefur2019-06-201-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-10/+2
|\|
| * mod_blocklist: Remove unrelated tags from test caseKim Alvefur2019-06-201-10/+2
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-0/+168
|\|
| * mod_blocklist: Update test case with correct behavior (see #1380)Kim Alvefur2019-06-201-0/+6
| | | | | | | | Expect failure
| * mod_blocklist: Add test case capturing current behaviorKim Alvefur2019-06-201-0/+162
| |
* | Merge 0.11->trunkKim Alvefur2019-02-271-0/+202
|\|
| * spec: Add test case for #1322Kim Alvefur2019-02-271-0/+202
| |
* | Merge 0.11->trunkKim Alvefur2018-12-232-1/+38
|\|
| * mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-232-1/+38
| |
* | Merge 0.11->trunkKim Alvefur2018-12-201-0/+22
|\|
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-201-0/+22
| | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|
| * spec/scansion: Fix test names of tests added in 0d97768b0ea9Matthew Wild2018-12-192-2/+2
| |
* | Merge 0.11 -> trunkMatthew Wild2018-12-192-0/+236
|\|
| * spec/scansion: Add tests for members-only roomsMatthew Wild2018-12-192-0/+236
| |
* | MUC: Test that subject is still empty after sending a non-subject change ↵Kim Alvefur2018-12-161-0/+27
| | | | | | | | message with a subject (#667)
* | MUC: Add descriptive comments to #667 testKim Alvefur2018-12-161-0/+8
| |
* | MUC: Add another message to #667 testKim Alvefur2018-12-161-0/+15
| |
* | spec/scansion/prosody.cfg.lua: Add remaining modules listened in ↵Kim Alvefur2018-12-111-0/+5
| | | | | | | | prosody.cfg.lua.dist for easier comparisons
* | spec/scansion/prosody.cfg.lua: Replace mod_vcard with mod_vcard4 and ↵Kim Alvefur2018-12-111-1/+2
| | | | | | | | mod_vcard_legacy as in default config
* | spec/scansion/prosody.cfg.lua: Update a comment from prosody.cfg.lua.dist ↵Kim Alvefur2018-12-111-1/+1
| | | | | | | | for easier comparisons
* | MUC: Add test case for #667Kim Alvefur2018-12-061-0/+79
| |
* | spec/keep_full_sub_req: Make the second connect a differenct device ↵Kim Alvefur2018-12-011-6/+10
| | | | | | | | | | | | (workaround for scansion issue) scansion threw an error when a client connected again
* | spec/keep_full_sub_req: Verify that the presence subscription stays the same ↵Kim Alvefur2018-12-011-0/+17
| | | | | | | | after a reconnect
* | spec/keep_full_sub_req: Add missing type attributeKim Alvefur2018-12-011-1/+1
| |
* | tests: Add scansion test for #689 about keeping the full subscription ↵Kim Alvefur2018-11-301-0/+37
|/ | | | request stanza
* spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_recordKim Alvefur2018-11-121-1/+3
| | | | | This was accidentally included in a previous commit, but having it here makes it easier to enable when making new test cases.
* MUC: Add scanison test case for #1230Kim Alvefur2018-11-122-0/+102
|