Skip to content

Commit

Permalink
only run end_static_dir for http and https
Browse files Browse the repository at this point in the history
  • Loading branch information
beapirate committed Jan 5, 2012
1 parent 54d16c1 commit 1592adc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/http_SUITE.erl
Expand Up @@ -102,9 +102,11 @@ end_per_group(https, Config) ->
application:stop(crypto),
end_static_dir(Config),
ok;
end_per_group(Listener, Config) ->
end_per_group(http, Config) ->
cowboy:stop_listener(http),
end_static_dir(Config);
end_per_group(Listener, _Config) ->
cowboy:stop_listener(Listener),
end_static_dir(Config),
ok.

%% Dispatch configuration.
Expand Down

0 comments on commit 1592adc

Please sign in to comment.