@@ -218,14 +218,14 @@ class AnalogReadTest : public ::testing::Test {
218218 synnax::channel::Channel index_channel = synnax::channel::Channel{
219219 .name = make_unique_channel_name (" time_channel" ),
220220 .data_type = x::telem::TIMESTAMP_T ,
221+ .is_index = true ,
221222 .index = 0 ,
222- .is_index = true
223223 };
224224 synnax::channel::Channel data_channel = synnax::channel::Channel{
225225 .name = make_unique_channel_name (" data_channel" ),
226226 .data_type = x::telem::FLOAT64_T ,
227+ .is_index = false ,
227228 .index = index_channel.key ,
228- .is_index = false
229229 };
230230
231231 void parse_config () {
@@ -522,14 +522,14 @@ class DigitalReadTest : public ::testing::Test {
522522 synnax::channel::Channel index_channel = synnax::channel::Channel{
523523 .name = make_unique_channel_name (" time_channel" ),
524524 .data_type = x::telem::TIMESTAMP_T ,
525+ .is_index = true ,
525526 .index = 0 ,
526- .is_index = true
527527 };
528528 synnax::channel::Channel data_channel = synnax::channel::Channel{
529529 .name = make_unique_channel_name (" digital_channel" ),
530530 .data_type = x::telem::UINT8_T , // Digital data is typically boolean/uint8
531+ .is_index = false ,
531532 .index = index_channel.key ,
532- .is_index = false
533533 };
534534
535535 void parse_config () {
@@ -682,14 +682,14 @@ class CounterReadTest : public ::testing::Test {
682682 synnax::channel::Channel index_channel = synnax::channel::Channel{
683683 .name = make_unique_channel_name (" time_channel" ),
684684 .data_type = x::telem::TIMESTAMP_T ,
685+ .is_index = true ,
685686 .index = 0 ,
686- .is_index = true
687687 };
688688 synnax::channel::Channel data_channel = synnax::channel::Channel{
689689 .name = make_unique_channel_name (" counter_channel" ),
690690 .data_type = x::telem::FLOAT64_T , // Counter frequency data
691+ .is_index = false ,
691692 .index = index_channel.key ,
692- .is_index = false
693693 };
694694
695695 void parse_config () {
0 commit comments