add test players for login

This commit is contained in:
BuckarooBanzay 2020-04-23 08:11:49 +02:00
parent d2162db580
commit 5511cd99af
3 changed files with 5 additions and 0 deletions

BIN
test/players.sqlite Normal file

Binary file not shown.

4
test/players.txt Normal file
View File

@ -0,0 +1,4 @@
User,Password
-----------------
test,enter
test2,enter

View File

@ -3,6 +3,7 @@
docker run --rm -it \
-u root:root \
-v $(pwd)/minetest.conf:/etc/minetest/minetest.conf \
-v $(pwd)/players.sqlite:/root/.minetest/worlds/world/players.sqlite \
-v $(pwd)/../:/root/.minetest/worlds/world/worldmods/mail_mod \
-v mail_world:/root/.minetest/worlds/world/ \
--network host \