summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/Makefile.am2
-rw-r--r--src/test/importtest.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index 23049b5..48ffaa4 100644
--- a/src/test/Makefile.am
+++ b/src/test/Makefile.am
@@ -30,6 +30,6 @@ EXTRA_DIST = \
$(test_SOURCES)
# ImportTest::testVsdMetadataTitleUtf8 checks formatted date string
-AM_TESTS_ENVIRONMENT = TZ=CET; export TZ;
+AM_TESTS_ENVIRONMENT = TZ=UTC; export TZ;
TESTS = test
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index e05b3c1..32fb185 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -242,8 +242,8 @@ void ImportTest::testVsdMetadataTitleUtf8()
// Test the case when the string is UTF-8 encoded already in the file.
assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle\xC3\xA9\xC3\xA1\xC5\x91\xC5\xB1");
// Test <dcterms:created> and <dcterms:modified>.
- assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T09:24:56Z");
- assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T09:24:56Z");
+ assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T08:24:56Z");
+ assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T08:24:56Z");
}
void ImportTest::testVsdUserDefinedMetadata()