File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ using Poco::XML::NodeFilter;
30
30
using Poco::XML::TreeWalker;
31
31
32
32
namespace {
33
- static constexpr const char *URL_PREFIX = " http://journals.isis.cclrc.ac.uk/jv/" ;
33
+ static constexpr const char *URL_PREFIX = " http://journals.isis.cclrc.ac.uk/jv/ndx " ;
34
34
static constexpr const char *INDEX_FILE_NAME = " main" ;
35
35
static constexpr const char *JOURNAL_PREFIX = " /journal_" ;
36
36
static constexpr const char *JOURNAL_EXT = " .xml" ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ using testing::NiceMock;
22
22
using testing::Return;
23
23
24
24
namespace {
25
- const std::string URL_PREFIX = " http://journals.isis.cclrc.ac.uk/jv" ;
25
+ const std::string URL_PREFIX = " http://journals.isis.cclrc.ac.uk/jv/ndx " ;
26
26
27
27
static constexpr const char *emptyFile = " " ;
28
28
@@ -95,14 +95,14 @@ class ISISJournalTest : public CxxTest::TestSuite {
95
95
96
96
void test_getRuns_requests_correct_url () {
97
97
auto journal = makeJournal ();
98
- auto url = URL_PREFIX + " /ndxinter /journal_19_4.xml" ;
98
+ auto url = URL_PREFIX + " inter /journal_19_4.xml" ;
99
99
EXPECT_CALL (*m_internetHelper, sendRequestProxy (url, _)).Times (1 );
100
100
journal.getRuns ();
101
101
}
102
102
103
103
void test_getCycleNames_requests_correct_url () {
104
104
auto journal = makeJournal (indexFile);
105
- auto url = URL_PREFIX + " /ndxinter /journal_main.xml" ;
105
+ auto url = URL_PREFIX + " inter /journal_main.xml" ;
106
106
EXPECT_CALL (*m_internetHelper, sendRequestProxy (url, _)).Times (1 );
107
107
journal.getCycleNames ();
108
108
}
You can’t perform that action at this time.
0 commit comments