Updated test text to message
diff --git a/tests/src/PushNotificationsTests.scala b/tests/src/PushNotificationsTests.scala
index b306076..0b42264 100644
--- a/tests/src/PushNotificationsTests.scala
+++ b/tests/src/PushNotificationsTests.scala
@@ -45,14 +45,14 @@
it should "Send Notification action" in {
val name = "/whisk.system/pushnotifications/sendMessage"
withActivation(wsk.activation,wsk.action.invoke(name, Map("appSecret" -> appSecret, "appId" -> appId, "text" -> messageText), blocking = true, result = true)){
- _.fields("response").toString should include ("pushnotifications")
+ _.fields("response").toString should include ("message")
}
}
it should "Send Notification action with url" in {
val name = "/whisk.system/pushnotifications/sendMessage"
withActivation(wsk.activation,wsk.action.invoke(name, Map("appSecret" -> appSecret, "appId" -> appId, "text" -> messageText, "url"-> url), blocking = true, result = true)){
- _.fields("response").toString should include ("pushnotifications")
+ _.fields("response").toString should include ("message")
}
}
}