Adjust provisioning unit test 93/24493/1
authorMats Wichmann <mats@linux.com>
Tue, 27 Mar 2018 18:20:38 +0000 (12:20 -0600)
committerMats Wichmann <mats@linux.com>
Tue, 27 Mar 2018 18:20:38 +0000 (12:20 -0600)
commitf2f799365a7f4fda4c8bafd5f58e3b124d45545d
tree27f706dcfdbdac85a8a7561b673b4fdaa833ea92
parent8ef7af3172089201245c95085dfc060091cfc77e
Adjust provisioning unit test

A test of registerDisplayPinCallback passes a null callback
argument, and a valid callback handler pointer argument,
but checks the resolt for OC_STACK_INVALID_PARAM (which
would be the case if the handler pointer was null) instead
of OC_STACK_INVALID_CALLBACK.

Change-Id: I9d5e529cc1e0da580f8cc853d6692ff8efb31b93
Signed-off-by: Mats Wichmann <mats@linux.com>
resource/provisioning/unittests/OCProvisioningTest.cpp