24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-09-25 14:24:55 +02: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_master,
roster_remove_slave]}]. roster_remove_slave]}].
%% db_tests() ->
%% [{single_user, [sequence],
%% [test_register, pubsub]}].
ldap_tests() -> ldap_tests() ->
[{ldap_tests, [sequence], [{ldap_tests, [sequence],
[test_auth, [test_auth,
@ -199,9 +195,6 @@ groups() ->
{mysql, [sequence], db_tests()}, {mysql, [sequence], db_tests()},
{pgsql, [sequence], db_tests()}]. {pgsql, [sequence], db_tests()}].
%% all() ->
%% [{group, mnesia}].
all() -> all() ->
[{group, ldap}, [{group, ldap},
{group, no_db}, {group, no_db},
@ -893,10 +886,8 @@ offline_slave(Config) ->
#message{from = Peer, #message{from = Peer,
body = [#text{data = <<"body">>}], body = [#text{data = <<"body">>}],
subject = [#text{data = <<"subject">>}]}), subject = [#text{data = <<"subject">>}]}),
lists:foreach( true = lists:keymember(delay, 1, SubEls),
fun(#legacy_delay{}) -> ok; true = lists:keymember(legacy_delay, 1, SubEls),
(#delay{}) -> ok
end, SubEls),
disconnect(Config). disconnect(Config).
%%%=================================================================== %%%===================================================================