src: Change adjacency status from uint32_t to enum
refs: #1946
Change-Id: Ic1abd2610061860d0ac183074395a1d3796e870a
diff --git a/tests/test-adjacency-list.cpp b/tests/test-adjacency-list.cpp
index 0c7b87f..40411f8 100644
--- a/tests/test-adjacency-list.cpp
+++ b/tests/test-adjacency-list.cpp
@@ -57,10 +57,10 @@
BOOST_CHECK_EQUAL(adjacentList1.isNeighbor("adjacent"), false);
string n1 = "testname";
- BOOST_CHECK_EQUAL(adjacentList1.getStatusOfNeighbor(n1), (uint32_t)0);
+ BOOST_CHECK_EQUAL(adjacentList1.getStatusOfNeighbor(n1), Adjacent::STATUS_INACTIVE);
- adjacentList1.setStatusOfNeighbor(n1, 1);
- BOOST_CHECK_EQUAL(adjacentList1.getStatusOfNeighbor(n1), (uint32_t)1);
+ adjacentList1.setStatusOfNeighbor(n1, Adjacent::STATUS_ACTIVE);
+ BOOST_CHECK_EQUAL(adjacentList1.getStatusOfNeighbor(n1), Adjacent::STATUS_ACTIVE);
}
BOOST_AUTO_TEST_SUITE_END()