aboutsummaryrefslogtreecommitdiff
path: root/unittest/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/test.cc')
-rw-r--r--unittest/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/test.cc b/unittest/test.cc
index 41cf545..c877d33 100644
--- a/unittest/test.cc
+++ b/unittest/test.cc
@@ -12,7 +12,7 @@ using namespace nitrokey::proto::NKPro;
using namespace nitrokey::log;
using namespace nitrokey::misc;
-using Dev10 = std::shared_ptr<Stick10>;
+using Dev10 = std::shared_ptr<Device_NKPro>;
std::string getSlotName(Dev10 stick, int slotNo) {
auto slot_req = get_payload<ReadSlot>();
@@ -23,7 +23,7 @@ std::string getSlotName(Dev10 stick, int slotNo) {
}
TEST_CASE("Slot names are correct", "[slotNames]") {
- auto stick = make_shared<Stick10>();
+ auto stick = make_shared<Device_NKPro>();
bool connected = stick->connect();
REQUIRE(connected == true);