Update release notes test for removed default release notes.
authorCarl Hetherington <cth@carlh.net>
Thu, 27 Mar 2025 07:06:16 +0000 (08:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Mar 2025 07:06:16 +0000 (08:06 +0100)
test/release_notes_test.cc

index c303985de1abb668b816365b5d1472d1680606ab..addcc9f852e03468f452e7481818266128654342 100644 (file)
 using std::string;
 
 
-// If we have no previous version we're on something before 2.16.19 so we want the release notes
-BOOST_AUTO_TEST_CASE(release_notes_test1)
-{
-       for (auto version: { "2.16.19", "2.16.20", "2.18.0", "2.18.1devel6" }) {
-               Config::instance()->unset_last_release_notes_version();
-               auto notes = find_release_notes(true, string(version));
-               BOOST_CHECK(notes.get_value_or("").find("In this version there are changes to the way that subtitles are positioned.") != string::npos);
-       }
-}
-
-
 // Once we're running 2.17.19 we have no more release notes (for now, at least)
 BOOST_AUTO_TEST_CASE(release_notes_test2)
 {