Andrew Nicols
aa55779ba0
MDL-66903 testing: Helper to load fixture files
2024-07-15 13:07:42 +08:00
Andrew Nicols
25df1ed645
MDL-66903 core: Move core_component to \core\component
2024-07-15 13:07:42 +08:00
Andrew Nicols
406dcd2566
MDL-66903 testing: Add support for a \tests\ namespace during tests
...
This commit:
- introduces a \tests\ sub-namespace for use in unit tests only
- the path to this the tests/classes directory of the owning parent
- files here are excluded from unit test runs
This is agreed per policy in MDL-80855.
2024-07-15 13:07:36 +08:00
Andrew Nicols
3c03e9448c
MDL-66903 testing: Fix whitespace
2024-07-15 12:23:05 +08:00
Andrew Nicols
2c8acd3462
MDL-66903 testing: Reset CFG and component after test
...
This change moves the reset of global test state to the finally section
rather than doing it only if the test passes.
Previously if a test which modifies the `core_component` internals
failed, it would not reset the internal state and impact subsequent
tests.
2024-07-15 10:14:49 +08:00
Huong Nguyen
fd487cd3f2
weekly release 4.5dev
2024-07-12 08:41:58 +07:00
Huong Nguyen
abcac5bc8f
NOBUG: Add upgrade notes
2024-07-12 08:41:57 +07:00
Huong Nguyen
eaca2203a0
NOBUG: Fixed SVG browser compatibility
2024-07-12 08:41:05 +07:00
Sara Arjona
e3431a56ac
Merge branch 'MDL-80489-main-patch' of https://github.com/HuongNV13/moodle
2024-07-11 10:22:25 +02:00
Huong Nguyen
a0394ce78f
MDL-80489 qtype_ddtos: Update Behat to match language string
2024-07-11 15:15:34 +07:00
Huong Nguyen
e28937ccbc
MDL-80489 qtype_ddtos: Update language string
2024-07-11 11:16:44 +07:00
Huong Nguyen
28f62b717a
Merge branch 'MDL-82245' of https://github.com/paulholden/moodle
2024-07-11 11:13:50 +07:00
Jun Pataleta
a91fc78a90
Merge branch 'MDL-81265-main' of https://github.com/junpataleta/moodle
2024-07-11 12:08:58 +08:00
Andrew Nicols
7d693d70c9
Merge branch 'MDL-78936-main' of https://github.com/HuongNV13/moodle
2024-07-11 11:52:52 +08:00
Jun Pataleta
edafd17fc4
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
2024-07-11 11:49:20 +08:00
Andrew Nicols
5efe90187d
Merge branch 'MDL-82431' of https://github.com/paulholden/moodle
2024-07-11 11:46:04 +08:00
Jun Pataleta
5597a4eb33
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle
2024-07-11 11:21:21 +08:00
Sara Arjona
e559a3c325
MDL-82168 badges: Fix and improve behat tests
2024-07-11 11:19:34 +08:00
Sara Arjona
8c006300e5
MDL-82168 badges: Move enable/disable badges to modal
...
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-07-11 11:19:34 +08:00
Sara Arjona
814753e558
MDL-82168 badges: Add WS to enable/disable badges
2024-07-11 11:19:34 +08:00
Huong Nguyen
2845d8cbde
Merge branch 'MDL-79717' of https://github.com/paulholden/moodle
2024-07-11 09:34:52 +07:00
Huong Nguyen
0ef2fa73ae
Merge branch 'MDL-80489-master' of https://github.com/danghieu1407/moodle
2024-07-11 09:28:56 +07:00
Huong Nguyen
f8f5d77c3f
Merge branch 'MDL-76654-main' of https://github.com/lameze/moodle
2024-07-11 09:19:26 +07:00
Ilya Tregubov
1432af6a2e
Merge branch 'MDL-81661-main' of https://github.com/sarjona/moodle
2024-07-11 09:54:05 +08:00
Jun Pataleta
4da240f2a2
MDL-66994 upgrade: Move upgrade step after 4.4.0 release upgrade line
2024-07-11 09:22:12 +08:00
Paul Holden
8413f61260
MDL-82431 phpunit: correct unit test filename and classname.
...
Standardise the same test cases, e.g. make final, covers notation,
static data providers, namespaces, etc.
Once the tests run, a couple of them failed. They required changes
to assertions to make them pass.
2024-07-10 19:06:14 +01:00
Sara Arjona
c7a07f2bab
Merge branch 'MDL-82391' of https://github.com/paulholden/moodle
2024-07-10 18:05:46 +02:00
Sara Arjona
82f5cc6829
Merge branch 'MDL-81886-main' of https://github.com/ferranrecio/moodle
2024-07-10 15:20:59 +02:00
Paul Holden
bd0f8a058f
MDL-79717 phpunit: ensure unique data provider keys in tests.
...
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.
Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
2024-07-10 14:08:49 +01:00
ferranrecio
32e090561b
MDL-81886 tool_generator: allow scenario outlines in testing features
...
The tool_generator creates a testing scenario that can execute
all steps from behat_data_generators (with some limitations).
However, it cannot set any admin settings, which limits the
tool's ability to generate many real test scenarios.
2024-07-10 12:27:08 +02:00
Ilya Tregubov
fece8de140
Merge branch 'MDL-82323-striptags_error' of https://github.com/leonstr/moodle
2024-07-10 12:18:10 +08:00
Huong Nguyen
81b2398cad
Merge branch 'MDL-82057-main' of https://github.com/sarjona/moodle
2024-07-10 10:15:04 +07:00
Huong Nguyen
5f37f860e2
Merge branch 'MDL-81798-main' of https://github.com/ferranrecio/moodle
2024-07-10 09:56:48 +07:00
Huong Nguyen
6d3ee65ce2
Merge branch 'MDL-82324-main' of https://github.com/ferranrecio/moodle
2024-07-10 09:47:28 +07:00
Huong Nguyen
0644eeb752
Merge branch 'MDL-43938-main' of https://github.com/sarjona/moodle
2024-07-10 09:20:44 +07:00
Huong Nguyen
6c6b17187b
Merge branch 'MDL-68211-main' of https://github.com/sarjona/moodle
2024-07-10 09:07:33 +07:00
Huong Nguyen
761df2bebc
Merge branch 'MDL-82236-main' of https://github.com/andelacruz/moodle
2024-07-10 09:04:00 +07:00
Huong Nguyen
cc2bb2bcc5
Merge branch 'MDL-82401' of https://github.com/timhunt/moodle
2024-07-10 08:57:17 +07:00
Sara Arjona
b7685b0e99
Merge branch 'MDL-81349' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
2b3ff1633f
Merge branch 'MDL-82360' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
5b064f958d
Merge branch 'MDL-77834' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
c743676c27
Merge branch 'MDL-82326' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
4fa7cba998
Merge branch 'MDL-66994-main' of https://github.com/meirzamoodle/moodle
2024-07-10 09:17:57 +08:00
Sara Arjona
6bb0f33be9
Merge branch 'MDL-81991-main-alt' of https://github.com/HuongNV13/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
41b8cd3f73
Merge branch 'MDL-78388' of https://github.com/djarran/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
c84050bd0c
Merge branch 'MDL-81765-patch' of https://github.com/ilyatregubov/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
7f6906de02
Merge branch 'MDL-73284_final-deprecation-message_default_loggedoff-message_default_loggedin' of https://github.com/ziegenberg/moodle
2024-07-10 09:16:57 +08:00
Ilya Tregubov
8b92e969ae
MDL-81765 mod_subsection: Remove undesired index.
2024-07-10 09:16:56 +08:00
Sara Arjona
9d6cd34f8a
Merge branch 'MDL-66251-main' of https://github.com/meirzamoodle/moodle
2024-07-10 09:16:56 +08:00
Sara Arjona
402a0b9877
Merge branch 'MDL-82292-main' of https://github.com/ilyatregubov/moodle
2024-07-10 09:16:56 +08:00