Fix accidental copy paste mistake

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/tests/src/helpers.c b/tests/src/helpers.c
index 49a7df2..936da06 100644
--- a/tests/src/helpers.c
+++ b/tests/src/helpers.c
@@ -375,7 +375,7 @@
 #endif
 
 #ifdef MBEDTLS_THREADING_C
-    mbedtls_mutex_lock(&mbedtls_test_info_mutex);
+    mbedtls_mutex_unlock(&mbedtls_test_info_mutex);
 #endif /* MBEDTLS_THREADING_C */
 }