mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-18 12:16:41 -04:00
add integration test
This commit is contained in:
parent
c8bf087480
commit
a0dd94d5c5
6 changed files with 113 additions and 0 deletions
7
test/test_mod/init.lua
Normal file
7
test/test_mod/init.lua
Normal 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
2
test/test_mod/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = mail_test
|
||||
depends = mail
|
Loading…
Add table
Add a link
Reference in a new issue