diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/headless.cpp | 5 | ||||
m--------- | test/suite | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/headless.cpp b/test/headless.cpp index 657bab4c35..38c3decd64 100644 --- a/test/headless.cpp +++ b/test/headless.cpp @@ -76,6 +76,11 @@ TEST_P(HeadlessTest, render) { std::string style = util::read_file(base_directory + "tests/" + base + "/style.json"); std::string info = util::read_file(base_directory + "tests/" + base + "/info.json"); + std::size_t pos = 0; + while ((pos = style.find("local://", pos)) != std::string::npos) { + style.replace(pos, 8, "http://localhost:2900/"); + } + // Parse style. rapidjson::Document styleDoc; styleDoc.Parse<0>((const char *const)style.c_str()); diff --git a/test/suite b/test/suite -Subproject 0f5f8f302202261c19810ea856fdcfb62498973 +Subproject b94ae79bb1e802b3c2d41792401192631d2be54 |