summaryrefslogtreecommitdiff
path: root/cpp/tests/HeaderTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/HeaderTest.cpp')
-rw-r--r--cpp/tests/HeaderTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/HeaderTest.cpp b/cpp/tests/HeaderTest.cpp
index f77aaaedb4..77e68829c3 100644
--- a/cpp/tests/HeaderTest.cpp
+++ b/cpp/tests/HeaderTest.cpp
@@ -53,7 +53,7 @@ public:
void testAllSpecificProperties(){
string contentType("text/html");
string contentEncoding("UTF8");
- uint8_t deliveryMode(2);
+ DeliveryMode deliveryMode(PERSISTENT);
uint8_t priority(3);
string correlationId("abc");
string replyTo("no-address");
@@ -106,7 +106,7 @@ public:
void testSomeSpecificProperties(){
string contentType("application/octet-stream");
- uint8_t deliveryMode(5);
+ DeliveryMode deliveryMode(PERSISTENT);
uint8_t priority(6);
string expiration("Z");
uint64_t timestamp(0xabe4a34a);