fix(spm): FFA_VERSION to return error

SPM is expected to return error when the version provided by the caller
is not compliant with that of the SPMC.
Before the assumption was that the SPMC would always return its own
version.

Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I590c858bf73c059772193d994becbb8f7a2b170e
diff --git a/tftf/tests/runtime_services/secure_service/test_ffa_setup_and_discovery.c b/tftf/tests/runtime_services/secure_service/test_ffa_setup_and_discovery.c
index d8a6f6a..4b0df1c 100644
--- a/tftf/tests/runtime_services/secure_service/test_ffa_setup_and_discovery.c
+++ b/tftf/tests/runtime_services/secure_service/test_ffa_setup_and_discovery.c
@@ -186,7 +186,7 @@
 test_result_t test_ffa_version_bigger(void)
 {
 	return test_ffa_version(MAKE_FFA_VERSION(FFA_VERSION_MAJOR + 1, 0),
-				SPM_VERSION);
+				FFA_ERROR_NOT_SUPPORTED);
 }
 
 /*
@@ -194,7 +194,8 @@
  */
 test_result_t test_ffa_version_smaller(void)
 {
-	return test_ffa_version(MAKE_FFA_VERSION(0, 9), SPM_VERSION);
+	return test_ffa_version(MAKE_FFA_VERSION(0, 9),
+				FFA_ERROR_NOT_SUPPORTED);
 }
 
 /******************************************************************************