add integration test

This commit is contained in:
BuckarooBanzay 2020-04-23 09:46:30 +02:00
parent c8bf087480
commit a0dd94d5c5
6 changed files with 113 additions and 0 deletions

7
test/test_mod/init.lua Normal file
View file

@ -0,0 +1,7 @@
minetest.log("warning", "[TEST] integration-test enabled!")
minetest.register_on_mods_loaded(function()
minetest.log("warning", "[TEST] starting tests")
mail.send("spammer", "test", "subject", "body");
end)

2
test/test_mod/mod.conf Normal file
View file

@ -0,0 +1,2 @@
name = mail_test
depends = mail