diff --git a/modpol/tests/org_basic_test.lua b/modpol/tests/org_basic_test.lua new file mode 100644 index 0000000..96e112d --- /dev/null +++ b/modpol/tests/org_basic_test.lua @@ -0,0 +1,10 @@ +dofile("../modpol.lua") + +print('\nRemoving existing orgs') +modpol.orgs.reset() + +print('\nCreating an org called "test_org"') +test_org = modpol.instance:add_org('test_org') + +print('\nTrying to create an org with the same name') +duplicate = modpol.instance:add_org('test_org') \ No newline at end of file