Commit Graph

133 Commits

Author SHA1 Message Date
Pig Fang
556f8268f3 optimize for loop in test 2018-07-16 16:01:58 +08:00
Pig Fang
29c004da9c fix test 2018-07-16 11:54:42 +08:00
Pig Fang
9cd6e0945d booleanify public property 2018-07-16 11:10:01 +08:00
Pig Fang
0f7d44a2c9 refactor tests 2018-07-16 10:22:19 +08:00
Pig Fang
a53743862f fix risky test 2018-07-15 18:34:38 +08:00
Pig Fang
590f62d035 use mail.driver to determine whether password reset is disabled 2018-07-15 18:18:56 +08:00
Pig Fang
209d74ab7a use mailable 2018-07-15 17:42:03 +08:00
Pig Fang
aa00c65a7a hack for test 2018-07-14 15:44:52 +08:00
Pig Fang
65f1596eae fix test of SkinlibController 2018-07-14 15:03:05 +08:00
Pig Fang
ec5eaeff81 remove unused code 2018-07-14 09:05:20 +08:00
Pig Fang
b520a464cb remove hack for test 2018-07-14 08:41:25 +08:00
Pig Fang
b6cda88ae4 fix test 2018-07-14 08:27:15 +08:00
Pig Fang
7524041a76 use Mail::fake() 2018-07-13 19:23:20 +08:00
Pig Fang
3f77c98783 fix tests of SkinlibController 2018-07-13 19:02:16 +08:00
Pig Fang
b74cc0dd59 fix tests of AdminController 2018-07-13 16:48:15 +08:00
Pig Fang
f8052b9c9b update tests of UpdateController 2018-07-13 16:42:05 +08:00
Pig Fang
d3486f3a40 add laravel/browser-kit-testing 2018-07-13 16:41:50 +08:00
Pig Fang
68d3fb1eb4 fix tests of UserController 2018-07-13 16:24:19 +08:00
Pig Fang
d1442902b2 fix tests of PlayerController 2018-07-13 16:14:49 +08:00
Pig Fang
4c44fa47cd fix tests of plugin hook 2018-07-13 16:10:23 +08:00
Pig Fang
4e6478c8f9 fix tests of middlewares 2018-07-13 16:05:20 +08:00
Pig Fang
f9774e9275 fix tests of HomeController 2018-07-13 15:52:42 +08:00
Pig Fang
d65d6e298e fix tests of ClosetController 2018-07-13 15:51:17 +08:00
Pig Fang
d859d9ce49 fix tests of PluginController 2018-07-13 15:38:22 +08:00
Pig Fang
b1974ffafd fix tests of SetupController 2018-07-13 15:26:19 +08:00
Pig Fang
3143cf0838 fix tests of TextureController 2018-07-13 15:21:13 +08:00
Pig Fang
aa68641eba fix tests of AuthController 2018-07-13 15:13:35 +08:00
Pig Fang
8e2b2c78fc fix for tests 2018-07-12 17:18:19 +08:00
printempw
da34062a9c Add L10n support for site name and description 2018-07-06 14:49:39 +08:00
printempw
815fef7f3d Enhance rendering notice for unsatisfied plugin dependencies 2018-06-29 20:54:40 +08:00
printempw
b4e8b7e8c9 Update tests of plugins 2018-06-29 18:26:48 +08:00
printempw
0a307e9221 Refine texture preview generation
The methods in App\Services\Minecraft now accept binary image data as their first parameter.
The parameters of Minecraft::generatePreviewFromSkin is reordered.
Fix skin preview for Alex model textures.
Add more parameters to Minecraft::generatePreviewFromCape for specifying image size.
2018-06-28 21:55:33 +08:00
printempw
334eb7c3c5 Clear unnecessary filesystems 2018-06-28 18:25:31 +08:00
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00
printempw
b7a2d368f7 Fix maximum password length 2018-06-19 00:23:20 +08:00
printempw
36064873e3 Revert "Add a option for adding a player after registered"
This feature will be implemented as a plugin. This reverts commit ad255252b57b135ddecf89aa1331c40c97324be9.
2018-06-15 22:44:30 +08:00
Pig Fang
520a9c3b97 test: fix coverage 2018-03-11 12:01:14 +08:00
Pig Fang
f3220ee526 test: disconnect database after each test 2018-03-11 11:20:21 +08:00
printempw
6cb26bf2d8 Update tests for PluginController 2018-02-25 11:23:07 +08:00
printempw
da48fd84dc Adjust allowed maximum password length to 32 2018-02-24 16:32:19 +08:00
printempw
d54709c23d Add default texture for alex model 2018-02-23 23:17:29 +08:00
printempw
5e00131db4 Fix tests for SQLite database 2018-02-23 10:22:11 +08:00
printempw
a1cbac0afb Specify the user agent of requests by env variable 2018-02-16 18:32:54 +08:00
printempw
d01c18b379 Update tests for PluginController 2018-02-16 17:53:10 +08:00
printempw
7e6cc96e5e Return 403 instead when accessing private textures, close #111 2018-02-10 13:06:19 +08:00
Pig Fang
6f516cc2eb fix(preview): fix 2d skin preview for alex model 2018-01-04 13:10:41 +08:00
Pig Fang
55a137f014 test(services): add tests for repositories 2017-12-28 12:52:29 +08:00
Pig Fang
776a0a67ae test(model): add tests for "User" model 2017-12-27 18:40:16 +08:00
Pig Fang
f4c21a0cb2 test(model): add tests for "player" model 2017-12-26 20:07:26 +08:00
Pig Fang
a5615eb090 test(model): add tests for "Closet" model 2017-12-26 19:32:17 +08:00
Pig Fang
26742e3ae3 Add tests for Services/Hook 2017-12-04 17:04:04 +08:00
Pig Fang
97874039c6 Add tests for Services/Minecraft 2017-12-04 15:11:23 +08:00
gplane
3e5e2cc0ec Update tests for middleware 2017-11-30 10:02:29 +08:00
Pig Fang
14b7cc670c Update tests for PlayerController 2017-11-24 23:05:49 +08:00
Pig Fang
157c9e8b22 Update tests for SkinlibController 2017-11-24 18:54:30 +08:00
Pig Fang
55c2fb38ac Update tests for SetupController 2017-11-20 19:56:24 +08:00
Pig Fang
163396c6d9 Update tests for HomeController 2017-11-20 00:04:28 +08:00
Pig Fang
2e5c1f7890 Use VFS for testing 2017-11-19 12:49:24 +08:00
Pig Fang
79038d3c63 Add PHP 5.5 in Travis CI 2017-11-18 23:41:37 +08:00
Pig Fang
1ab25e80e6 Add tests for UpdateController 2017-11-18 20:36:31 +08:00
Pig Fang
99aee71cc8 Add tests for UserController 2017-11-18 13:25:08 +08:00
Pig Fang
7d48c6a609 Use "memory" driver for testing 2017-11-17 17:46:06 +08:00
Pig Fang
6cd5fce271 Download plugins in setUp function 2017-11-17 07:56:43 +08:00
Pig Fang
a413927980 Add tests for TextureController 2017-11-17 07:40:29 +08:00
Pig Fang
b19565bf8b Add tests for PluginController 2017-11-16 14:09:08 +08:00
Pig Fang
faa73bebc9 Do some checks before updating player profile 2017-11-15 14:00:11 +08:00
Pig Fang
aaf612f2d9 Add tests for PlayerController 2017-11-14 23:25:04 +08:00
printempw
ef7f75b184 Add dotenv file for testing 2017-11-09 12:09:41 +08:00
Pig Fang
622885d9c0 Update tests of AdminController 2017-11-08 17:57:12 +08:00
Pig Fang
594954dbe2 Make responsive for closet
fix #89
2017-11-06 11:07:24 +08:00
Pig Fang
4d21fb5b02 Add event assertion for AuthController 2017-11-06 07:46:43 +08:00
Pig Fang
bce4ed4a42 Add a option for adding a player after registered 2017-11-05 20:56:52 +08:00
Pig Fang
739bc17c3a Refactor Closet model 2017-11-05 16:54:01 +08:00
Pig Fang
8d1adc7e4d Add security check before resetting password 2017-11-05 10:25:20 +08:00
Pig Fang
ed27972608 Add tests for ClosetController 2017-11-04 20:25:54 +08:00
Pig Fang
b6ffa970cf Add tests for AdminController 2017-11-04 20:25:54 +08:00
Pig Fang
abd27055c1 Add tests for AuthController 2017-11-04 20:25:54 +08:00
Pig Fang
2a895e1b88 Add tests for middleware and HomeController 2017-11-04 20:25:54 +08:00
Pig Fang
71438446fe Get ready for PHPUnit 2017-11-03 23:24:25 +08:00
printempw
11d08b9545 remove unused tests 2016-09-10 17:52:04 +08:00
printempw
1e7030236e initialize for laravel 2016-08-28 10:05:21 +08:00
printempw
00678628d2 remove the foolish tests 2016-07-28 15:15:35 +08:00
printempw
ef227b1045 add some casual tests 2016-07-24 11:13:41 +08:00