summaryrefslogtreecommitdiff
path: root/tests/test_channel_feature_hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_channel_feature_hooks.c')
-rw-r--r--tests/test_channel_feature_hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_channel_feature_hooks.c b/tests/test_channel_feature_hooks.c
index c9fdf0983..a32548458 100644
--- a/tests/test_channel_feature_hooks.c
+++ b/tests/test_channel_feature_hooks.c
@@ -345,7 +345,7 @@ static int load_module(void)
{
test_features_chan_tech.capabilities = ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_DEFAULT);
if (!test_features_chan_tech.capabilities) {
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
ast_format_cap_append(test_features_chan_tech.capabilities, TEST_CHANNEL_FORMAT, 0);
ast_channel_register(&test_features_chan_tech);