25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

Cleanup the test suite (just a little)

This commit is contained in:
Evgeniy Khramtsov 2013-07-07 04:47:47 +10:00
parent 2b24e97936
commit e89f0f6461

View File

@ -177,10 +177,6 @@ db_tests() ->
[roster_remove_master,
roster_remove_slave]}].
%% db_tests() ->
%% [{single_user, [sequence],
%% [test_register, pubsub]}].
ldap_tests() ->
[{ldap_tests, [sequence],
[test_auth,
@ -199,9 +195,6 @@ groups() ->
{mysql, [sequence], db_tests()},
{pgsql, [sequence], db_tests()}].
%% all() ->
%% [{group, mnesia}].
all() ->
[{group, ldap},
{group, no_db},
@ -893,10 +886,8 @@ offline_slave(Config) ->
#message{from = Peer,
body = [#text{data = <<"body">>}],
subject = [#text{data = <<"subject">>}]}),
lists:foreach(
fun(#legacy_delay{}) -> ok;
(#delay{}) -> ok
end, SubEls),
true = lists:keymember(delay, 1, SubEls),
true = lists:keymember(legacy_delay, 1, SubEls),
disconnect(Config).
%%%===================================================================