Kevin Grandjean
1635eb6006
MM-19138 - Adjust test to use require. ( #12585 )
...
* Adjust test to use require.
* Use assert instead of require.
2019-10-10 09:27:36 -04:00
Abado Jack Mtulla
7a0d9149eb
Migrate app/import_functions_test.go to testify ( #12495 )
...
- Use 'require' and 'assert' methods instead of 't.Fatal'
2019-10-10 14:54:40 +03:00
Ali Farooq
7b6b54c341
MM-18540 - Demo plugin crashes on server shutdown ( #12371 )
...
* MM-18540 - Demo plugin crashes on server shutdown
* MM-18540 - Removed unncessary lock statements
* Added comments, logging a warning if PluginsEnv is updated while shutting down plugins
* Don't clean up PluginsEnv if another Env is detected
* Changing warn to debug
* Revert "Changing warn to debug"
This reverts commit 46f20ab21e .
2019-10-09 17:19:01 -04:00
Hector
c02b489302
Mm 19006 ( #12616 )
...
* Refactor to use structured logging
* Properly formatted with gofmt
* migrate tests to use testify
* fix: swap expected and actual
2019-10-09 15:43:13 -04:00
Pijus Kamandulis
4de508ec51
MM-19238 Migrate tests from 'model/team_test.go' to use testify ( #12645 )
...
* MM-19238 Migrate tests from 'model/team_test.go' to use testify
* MM-19238 Fixed CR issues
2019-10-09 11:06:12 -07:00
Shodiq Muhammad
d1e46cd216
change t.Fatal to assert.Equal in model/status_test.go ( #12680 )
2019-10-09 13:11:40 -04:00
Stylianos Rigas
9ea4c40bcc
Mm 19050 - Fixing server build fails because of missing Redux module ( #12560 )
...
* MM-19050 Testing circle ci fix
* MM-19050 Testing circle ci fix
* MM-19050 Fixing the missing redux error
* MM-19050 Removing webapp testing
* MM-19050 Movinng npm ci
* MM-19050 Readding test step
* MM-19050 Readding test step
* Removing curl step
* Removing curl step
* Adding logic for curl fails
* MM-19050 Testing e2e functionality
* MM-19050 Testing e2e functionality
2019-10-09 09:41:21 +01:00
Lev
e095746987
Bumped Jira plugin version to 2.2.1 ( #12689 )
...
* Bumped the Jira plugin to v2.2.0
* Bumped Jira plugin version to 2.2.1
2019-10-08 16:34:00 -07:00
Jesús Espino
a6fdb72b19
Not allowing to use team invite links by guest accounts ( #12608 )
...
* Not allowing to use team invite links by guest accounts
* Adding needed tests
* Updating error text
2019-10-08 19:07:56 +02:00
Carlos Tadeu Panato Junior
7ed2ac52a0
build docker first ( #12623 )
2019-10-08 16:50:51 +02:00
Phillip Ahereza
d290534297
Migrate tests from "cmd/mattermost/commands/roles_test.go" to… ( #12421 )
...
* migrated tests in roles_test.go to use testify
* format file
* format file and edit some test statements
* change some require statements to assert
* remove extra t.Fatal
* test error on response
* use require.NotEmpty
2019-10-08 09:39:44 -05:00
Sheshagiri Rao Mallipedhi
894b124bc6
Migrate tests from "model/analytics_row_test.go" to use testify ( #12601 )
2019-10-08 09:36:15 -05:00
Vitalii Ananichev
13b28b7a20
MM-19132 Migrate tests from "model/channel_view_test.go" to us… ( #12579 )
...
* Migrate tests from "model/channel_view_test.go" to use testify
* Replace require to assert
2019-10-08 09:22:06 -05:00
Martin Kraft
598f7c7255
MM-17767: Remove ExperimentalLdapGroupSync config. ( #12388 )
2019-10-08 08:03:39 -04:00
Pradeep Murugesan
488ae1abad
turned off email notification for the status DND ( #12502 )
...
* turned off email notification for the status DND
* extracted the userAllows email logic as a separate function
* removed the unused function
2019-10-08 09:57:20 +02:00
Carlos Tadeu Panato Junior
ae3f112874
upgrade db to 5.16 ( #12260 )
...
* upgrade db to 5.16
* set current schema version
2019-10-08 09:32:51 +02:00
boonwj
e5ea44afcb
[MM-19158] Migrate to testify in model/cluster_message_test.go ( #12615 )
2019-10-08 09:02:50 +02:00
Aliaksandr Kantsevoi
041c914de7
Migrate tests from "model/switch_request_test.go" to use testi… ( #12554 )
2019-10-08 08:27:53 +02:00
Ogundele Olumide
f21b7618a4
MM-19015 Migrate tests from "cmd/mattermost/commands/config_te… ( #12627 )
...
- change t.fatal to require package of the testify toolkit
2019-10-08 00:09:39 -06:00
Victor Hugo Avelar Ossorio
bb203bad4a
MM-19163 - Refactored team search tests to testify ( #12607 )
2019-10-07 09:27:53 -04:00
Clément Collin
2ef5712a08
[MM-19120] Migrate tests from "model/security_bulletin_test.go… ( #12567 )
2019-10-07 07:54:51 +02:00
Deepak Sah
6c55f79ca7
[MM-19119] Migrate tests from "model/access_test.go" to use testify ( #12611 )
...
* Changed tests to use require
* Removed redundant messages
2019-10-06 21:22:30 +02:00
Marc Argent
1a126b5133
GH-12335 Refactor app/session.go to use structured logging ( #12529 )
...
* GH-12335 Refactor app/session.go to use structured logging
* Remove placeholders
2019-10-06 16:01:42 +03:00
Karan Nadagoudar
cbb25838a6
[MM-19165] Migrate tests from "model/utils_test.go" to use tes… ( #12610 )
2019-10-05 08:01:50 +02:00
Vitalii Ananichev
51b5776fd0
MM-19133 Migrate tests from "model/terms_of_service_test.go" t… ( #12578 )
2019-10-04 19:03:07 +02:00
Sheshagiri Rao Mallipedhi
8e86ec969e
refactor tests in model/reaction_test.go and move to testify t… ( #12603 )
2019-10-04 18:43:27 +02:00
George Felix
f97ed668ba
Migrated tests from "model/incoming_webhook_test.go" to use testify ( #12602 )
...
* Replaced test assertions with testify
* Changes based on suggestions https://github.com/mattermost/mattermost-server/pull/12602#pullrequestreview-296859312
* Unused variable replaced with blank identifier
2019-10-04 17:36:26 +02:00
Lev
293d4c762e
Bumped GitHub plugin to 0.11.0 ( #12613 )
2019-10-04 07:46:37 -07:00
Ogundele Olumide
fa166f13bf
chore: migrate test to testify ( #12507 )
...
- replace calls to t.fatal with require assertion of testify toolkit
2019-10-04 07:43:29 -07:00
SezalAgrawal
e1fae73e85
[MM-19123] Migrate tests from "model/push_notification_test.go" to use testify ( #12557 )
...
* [MM-19123] Migrate tests from model/push_notification_test.go to use testify
* [MM-19123] Re-arranged the import package
2019-10-04 15:30:04 +01:00
Sascha Andres
aa4a7e71dd
MM-19117 Migrate tests from "model/system_test.go" to use testify #12550 ( #12574 )
2019-10-04 14:18:14 +02:00
Eli Yukelzon
3ea8540586
Added validation of schema migration to CircleCI ( #12322 )
...
* circleci support for schema diffing
2019-10-04 14:46:43 +03:00
Nicholas Lim
928b07f940
change model/suggest_command_test.go to use assert ( #12575 )
...
Merging! happy hacktoberfest! 🥇
2019-10-04 11:07:01 +02:00
Lev
54c4bef0d9
Bumped Zoom plugin version to 1.1.1 ( #12403 )
...
* Bumped Zoom plugin version to 1.1.0
* Bumped Zoom plugin version to 1.1.1
2019-10-03 10:22:30 -07:00
Agniva De Sarker
20ff7032a6
Fixed some ineffective assignments ( #12543 )
2019-10-03 15:45:27 +03:00
SezalAgrawal
eebe1fc290
[MM-19118] Migrate tests from "model/websocket_message_test.go… ( #12577 )
...
* [MM-19118] Migrate tests from model/websocket_message_test.go to use testify
* [MM-19118] Ran go fmt on websocket_message_test.go file
2019-10-03 02:48:37 -06:00
Aliaksandr Kantsevoi
f010346945
Migrate tests from "cmd/mattermost/commands/team_test.go" to use test… ( #12509 )
...
* Migrate tests from "cmd/mattermost/commands/team_test.go" to use testify #12410
* #12410 : Simplify if checks
Migrate tests from "cmd/mattermost/commands/team_test.go" to use testify #12410
2019-10-03 16:38:41 +08:00
Ogundele Olumide
714a5c3c29
chore: convert calls to t.fatal to testify ( #12506 )
...
- use require testfify assertions to replace calls to t.fatal
2019-10-03 10:09:29 +02:00
Lev
0186fdf9e7
Bumped Autolink plugin version to 1.1.1 ( #12404 )
2019-10-02 15:34:21 -07:00
Nilesh Kevlani
1f6cf84bb2
Replaced t.Fatal with require.Equal ( #12536 )
2019-10-03 00:25:36 +03:00
Jesús Espino
2f77622b89
Upgrading server package dependencies ( #12559 )
2019-10-02 20:13:38 +02:00
Dennis Nguyen
c19bddb51b
update config/file test to use testify ( #12534 )
2019-10-02 19:24:10 +02:00
Christopher Poile
f9025818b6
redirect stderr to stdout ( #12516 )
2019-10-02 19:23:25 +02:00
Lev
053ce34605
Bumped Welcome bot plugin version to 1.1.1 ( #12407 )
2019-10-02 10:09:22 -07:00
Nikhil Ranjan
3e0da03310
Convert app/user_test.go t.Fatal calls into assert/require calls ( #12219 )
...
* Convert app/user_test.go t.Fatal calls into assert/require calls
* arrange expected and actual arguments as per semantics
* arrange expected and actual arguments as per go semantics
* fix for notEqual
2019-10-02 10:00:42 -07:00
Agniva De Sarker
8ab0e80b77
MM-19022: Convert config/watcher_test.go t.Fatal calls into require calls ( #12524 )
...
* Convert config/watcher_test.go t.Fatal calls into require calls
* Moved wasCalled to a public helper function
Now the testutils package has a new function WasCalled
that can be used by anywhere.
2019-10-02 18:57:43 +02:00
Dennis Nguyen
013a81a33d
migrate memory_test to use testify ( #12531 )
2019-10-02 18:43:16 +02:00
Lev
cc82cc990e
Bumped Custom Attributes plugin version to 1.0.2 ( #12405 )
2019-10-02 09:35:01 -07:00
Dennis Nguyen
c859807b70
update database test to use testify ( #12532 )
2019-10-02 08:51:13 -04:00
Aliaksandr Kantsevoi
80633ef475
Migrate tests from "cmd/mattermost/commands/webhook_test.go" to use t… ( #12510 )
2019-10-02 11:03:37 +02:00