From 9bf6d475fa1b32f8a53dce4e7e58aaf2c47981e8 Mon Sep 17 00:00:00 2001 From: Bill Avery Date: Sun, 8 Dec 2024 20:29:52 -0800 Subject: [PATCH] fix: update test for new sample field --- samples/today/TodayMock.cpp | 5 +++++ samples/today/TodayMock.h | 1 + 2 files changed, 6 insertions(+) diff --git a/samples/today/TodayMock.cpp b/samples/today/TodayMock.cpp index 62d06c50..c05834d7 100644 --- a/samples/today/TodayMock.cpp +++ b/samples/today/TodayMock.cpp @@ -186,6 +186,11 @@ std::optional Appointment::getForceError() const throw std::runtime_error(R"ex(this error was forced)ex"); } +std::vector Appointment::getArray() const +{ + return {}; +} + AppointmentEdge::AppointmentEdge(std::shared_ptr appointment) : _appointment(std::move(appointment)) { diff --git a/samples/today/TodayMock.h b/samples/today/TodayMock.h index 3ccf15b1..6709cba9 100644 --- a/samples/today/TodayMock.h +++ b/samples/today/TodayMock.h @@ -146,6 +146,7 @@ class Appointment std::shared_ptr getSubject() const noexcept; bool getIsNow() const noexcept; std::optional getForceError() const; + std::vector getArray() const; private: response::IdType _id;