1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Franz Liedke
194808ec7c Fix tests 2018-10-24 22:38:47 +02:00
Franz Liedke
9fabcff497 Fix tests 2018-09-22 00:40:19 +02:00
Toby Zerner
bd0b2a2f1d Fix tests 2018-09-21 14:32:41 +09:30
Franz Liedke
aae8aa4a51 Travis: Add table prefix to build matrix (#1568)
Fixes #1564.
2018-09-16 20:59:40 +02:00
Toby Zerner
14885fc0e1 Rename discussion.startPost 2018-08-24 22:13:05 +09:30
Franz Liedke
eb0e50a305 Fix tests after sites refactoring 2018-08-22 07:58:50 +02:00
Franz Liedke
e65b3ac153 Split SessionServiceProvider from UserServiceProvider
This lets us register the former during installation, where the
latter is not yet registered.

That, in turn, means we can finally re-enable the StartSession
middleware in the installer app, which we need to log in the new
admin user when installation is complete.
2018-08-22 07:58:50 +02:00
Daniël Klabbers
75f237b674 [wip] 1211 mariadb compatibility (#1440)
fixes #1211 

As we've already upgraded our minimum requirement to 7.1 there's no current need to force a constraint on dbal 2.7+.
2018-05-29 05:51:22 +02:00
Daniël Klabbers
ead24fbcb8 additional tests for api controllers (#1433)
* added CreatePostControllerTest

* added DeleteDiscussionControllerTest

* added ListDiscussionControllerTest

* added TokenControllerTest

* minor improvement to policy, no need for Carbon object there, added ShowDiscussionControllerTest

* added showDiscussionControllerTest but cant make Guests view the discussion created by a user

* viewing for guests tested, we might need factories
2018-05-16 09:25:48 +02:00
Daniël Klabbers
3f429fb08c adds a few additional api controller tests (#1429)
* added CreatePostControllerTest

* added DeleteDiscussionControllerTest

* added ListDiscussionControllerTest

* Apply fixes from StyleCI

[ci skip] [skip ci]
2018-05-14 13:32:19 +02:00
Daniel Klabbers
19645785a3 merged master 2018-05-14 09:23:06 +02:00
Daniël Klabbers
77bb82bda4 Improved foundational backend unit tests (#1405)
* part one of adding tests, updating core

* Apply fixes from StyleCI

[ci skip] [skip ci]

* we need xdebug for code coverage, and hhvm was already removed

* forgot about the sidecar for mysql completely 🤦

* gitignore removed this installed json we need to fake that we have extensions

* using reguarded closure
2018-04-17 11:15:28 +02:00
Daniel Klabbers
8ae6e0c766 added the create discussion test, also renamed some classes that seem to have been incorrectly renamed from the other testing branch 2018-04-13 09:06:42 +02:00
luceos
251e6d8cdd Apply fixes from StyleCI
[ci skip] [skip ci]
2018-04-13 05:13:32 +00:00
Daniel Klabbers
42d22f7c06 part one of adding tests, updating core 2018-04-13 07:13:10 +02:00
Franz Liedke
b75f098de7 Change namespace of test classes
(as implemented by @luceos in his WIP PR)
2018-03-04 00:01:49 +01:00
Daniel Klabbers
79da73f645 fixed those exception handling tests 2017-10-05 13:57:31 +02:00
Daniel Klabbers
7e65a7fd5b adding new tests to cover api handlers, part 1 of #245 and #74 2016-03-03 11:00:11 +01:00
Toby Zerner
63c355c20d Applied fixes from StyleCI 2016-02-25 22:09:39 -05:00
Kirk Bushell
067f87eacb Updated tests namespace to be ps4-valid. Added tests for flooding exception, fixed broken code 2015-10-27 12:48:27 +00:00
kirkbushell
b93d5570d0 Removed phpsec as the testing library, added phpunit and converted the first spec test to phpunit format. Also added mockery. 2015-09-28 15:09:13 +01:00