Skip to content

Commit

Permalink
Don't write the full path to the title
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Apr 21, 2022
1 parent f9ec3cb commit 695f2b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/taglibtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ TEST_F(TagLibTest, WriteID3v2Tag) {

// Write metadata -> only an ID3v2 tag should be added
mixxx::TrackMetadata trackMetadata;
trackMetadata.refTrackInfo().setTitle(
MixxxTest::testPath() + QStringLiteral("/id3-test-data/title"));
trackMetadata.refTrackInfo().setTitle(QStringLiteral("title"));
const auto exported =
mixxx::MetadataSourceTagLib(
tmpFileName, mixxx::taglib::FileType::MP3)
Expand All @@ -54,8 +53,7 @@ TEST_F(TagLibTest, WriteID3v2Tag) {
qDebug() << "Updating track title";

// Write metadata again -> only the ID3v2 tag should be modified
trackMetadata.refTrackInfo().setTitle(
MixxxTest::testPath() + QStringLiteral("/id3-test-data/title2"));
trackMetadata.refTrackInfo().setTitle(QStringLiteral("title2"));
const auto exported2 =
mixxx::MetadataSourceTagLib(
tmpFileName, mixxx::taglib::FileType::MP3)
Expand Down

0 comments on commit 695f2b6

Please sign in to comment.