diff --git a/res/res_agi.c b/res/res_agi.c index d0ba17e8d2..4665724233 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -3804,7 +3804,7 @@ AST_TEST_DEFINE(test_agi_null_docs) if (noop_command.usage == NULL) { res = AST_TEST_FAIL; } - if (noop_command.description == NULL) { + if (noop_command.syntax == NULL) { res = AST_TEST_FAIL; } #endif