BOOST_CHECK_EQUAL(sr->getValidationState(), vState::Secure);
BOOST_REQUIRE_EQUAL(ret.size(), 4U);
BOOST_CHECK_EQUAL(ret.at(0).d_name, target);
- BOOST_CHECK_EQUAL(ret.at(0).d_type, QType::A);
+ BOOST_CHECK_EQUAL(ret.at(0).d_type, QType(QType::A).getCode());
BOOST_CHECK_EQUAL(queriesCount, 7U);
ret.clear();
BOOST_CHECK_EQUAL(sr->getValidationState(), vState::Secure);
BOOST_REQUIRE_EQUAL(ret.size(), 4U);
BOOST_CHECK_EQUAL(ret.at(0).d_name, DNSName("b.powerdns.com."));
- BOOST_CHECK_EQUAL(ret.at(0).d_type, QType::A);
+ BOOST_CHECK_EQUAL(ret.at(0).d_type, QType(QType::A).getCode());
BOOST_CHECK_EQUAL(queriesCount, 7U);
}
BOOST_CHECK_EQUAL(sr->getValidationState(), vState::Secure);
BOOST_REQUIRE_EQUAL(ret.size(), 4U);
BOOST_CHECK_EQUAL(ret.at(0).d_name, target);
- BOOST_CHECK_EQUAL(ret.at(0).d_type, QType::A);
+ BOOST_CHECK_EQUAL(ret.at(0).d_type, QType(QType::A).getCode());
BOOST_CHECK_EQUAL(queriesCount, 7U);
ret.clear();
BOOST_CHECK_EQUAL(sr->getValidationState(), vState::Secure);
BOOST_REQUIRE_EQUAL(ret.size(), 4U);
BOOST_CHECK_EQUAL(ret.at(0).d_name, DNSName("b.powerdns.com."));
- BOOST_CHECK_EQUAL(ret.at(0).d_type, QType::A);
+ BOOST_CHECK_EQUAL(ret.at(0).d_type, QType(QType::A).getCode());
BOOST_CHECK_EQUAL(queriesCount, 7U);
}