Project

General

Profile

« Previous | Next » 

Revision 4f438db5

Added by Andreas Müller over 1 year ago

ref #10079 adapt tests to timezone handling

View differences:

src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/RegistrationPageTest.java
72 72
                "published in: Novis, P. M., Braidwood, J. & Kilroy, C. 2012: Small diatoms (Bacillariophyta) in cultures from the Styx River, New Zealand, including descriptions of three new species. – Phytotaxa 64: 11-45",
73 73
                regItem.getCitation().getText());
74 74
        assertEquals(
75
                "Registration on 2019-02-06 14:21:52",
75
                "Registration on 2019-02-06 13:21:52 +0100",
76 76
                regItem.getMetadata().getText());
77 77
        List<LinkElement> fkeys = regItem.getFootNoteKeys();
78 78
        assertEquals("1", fkeys.get(0).getText());
......
102 102
                "published in: Jahn, R., Abarca, N., Gemeinholzer, B., Mora, D., Skibbe, O., Kulikovskiy, M., Gusev, E., Kusber, W.-H. & Zimmermann, J. 2017: Planothidium lanceolatum and Planothicium frequentissimum reinvestigated wieht molecular methods and morphology: four new species and the taxonomic importance of the sinus and cavum. – Diatom Research 32: 75-107",
103 103
                regItem.getCitation().getText());
104 104
        assertEquals(
105
                "Registration on 2019-02-06 14:20:51",
105
                "Registration on 2019-02-06 13:20:51 +0100",
106 106
                regItem.getMetadata().getText());
107 107
    }
108 108

  
......
143 143
                "published in: Heidari, F., Zima, J., Riahi, H. & Hauer, T. 2018: New simple trichal cyanobacterial taxa isolated from radioactive thermal springs. – Fottea 18(2): 137–149",
144 144
                regItem.getCitation().getText());
145 145
        assertEquals(
146
                "Registration on 2019-02-06 14:16:45",
146
                "Registration on 2019-02-06 13:16:45 +0100",
147 147
                regItem.getMetadata().getText());
148 148
    }
149 149

  
......
165 165
                "published in: Heidari, F., Zima, J., Riahi, H. & Hauer, T. 2018: New simple trichal cyanobacterial taxa isolated from radioactive thermal springs. – Fottea 18(2): 137–149",
166 166
                regItem.getCitation().getText());
167 167
        assertEquals(
168
                "Registration on 2019-02-06 13:54:35",
168
                "Registration on 2019-02-06 12:54:35 +0100",
169 169
                regItem.getMetadata().getText());
170 170
        List<LinkElement> footnoteKeys = regItem.getFootNoteKeys();
171 171
        assertEquals(1,  footnoteKeys.size());
......
194 194
                "published in: Heidari, F., Zima, J., Riahi, H. & Hauer, T. 2018: New simple trichal cyanobacterial taxa isolated from radioactive thermal springs. – Fottea 18(2): 137–149",
195 195
                regItem.getCitation().getText());
196 196
        assertEquals(
197
                "Registration on 2019-02-06 13:54:29",
197
                "Registration on 2019-02-06 12:54:29 +0100",
198 198
                regItem.getMetadata().getText());
199 199
    }
200 200

  
201

  
202

  
203 201
    @Test
204 202
    public void test100008() throws MalformedURLException, UnsupportedEncodingException{
205 203

  
......
216 214
                "published in: Kretschmann, J., Žerdoner ?alasan, A. & Kusber, W.-H. 2017: Still curling after all these years: Glenodinium apiculatum Ehrenb. (Peridiniales, Dinophyceae) repeatedly found at its type locality in Berlin (Germany). – Systematics and Biodiversity",
217 215
                regItem.getCitation().getText());
218 216
        assertEquals(
219
                "Registration on 2019-02-12 09:08:29",
217
                "Registration on 2019-02-12 08:08:29 +0100",
220 218
                regItem.getMetadata().getText());
221 219

  
222 220
        // type designations in defined order

Also available in: Unified diff