Removing obsolete test after merging and correcting missing macro

Signed-off-by: toth92g <toth92g@gmail.com>
diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function
index f258970..4f80b64 100644
--- a/tests/suites/test_suite_x509parse.function
+++ b/tests/suites/test_suite_x509parse.function
@@ -1545,10 +1545,3 @@
     mbedtls_x509_crt_free(&crt);
 }
 /* END_CASE */
-
-/* BEGIN_CASE depends_on:MBEDTLS_X509_CRT_PARSE_C:MBEDTLS_SELF_TEST */
-void x509_selftest()
-{
-    TEST_ASSERT(mbedtls_x509_self_test(1) == 0);
-}
-/* END_CASE */