Browse Source

got rid of ISODates + changed version in POM

Jonathan LALOU 7 years ago
parent
commit
883c62dffa
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      pom.xml
  2. 2
    2
      src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java

+ 1
- 1
pom.xml View File

5
 
5
 
6
     <groupId>fr.sayasoft</groupId>
6
     <groupId>fr.sayasoft</groupId>
7
     <artifactId>fake-zinc</artifactId>
7
     <artifactId>fake-zinc</artifactId>
8
-    <version>0.1.0</version>
8
+    <version>0.2.0-SNAPSHOT</version>
9
 
9
 
10
     <parent>
10
     <parent>
11
         <groupId>org.springframework.boot</groupId>
11
         <groupId>org.springframework.boot</groupId>

+ 2
- 2
src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java View File

28
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
28
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
29
             "      \"merchant\" : \"amazon\",\n" +
29
             "      \"merchant\" : \"amazon\",\n" +
30
             "      \"account\" : \"timbeaver@gmail.com\",\n" +
30
             "      \"account\" : \"timbeaver@gmail.com\",\n" +
31
-            "      \"placed_at\" : ISODate(\"2014-07-02T23:51:08.366Z\")\n" +
31
+            "      \"placed_at\" : \"2014-07-02T23:51:08.366Z\"\n" +
32
             "    }\n" +
32
             "    }\n" +
33
             "  ],\n" +
33
             "  ],\n" +
34
             "  \"tracking\" : [\n" +
34
             "  \"tracking\" : [\n" +
36
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
36
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
37
             "      \"carrier\" : \"Fedex\",\n" +
37
             "      \"carrier\" : \"Fedex\",\n" +
38
             "      \"tracking_number\" : \"9261290100129790891234\",\n" +
38
             "      \"tracking_number\" : \"9261290100129790891234\",\n" +
39
-            "      \"obtained_at\" : ISODate(\"2014-07-03T23:22:48.165Z\")\n" +
39
+            "      \"obtained_at\" : \"2014-07-03T23:22:48.165Z\"\n" +
40
             "    }\n" +
40
             "    }\n" +
41
             "  ]\n" +
41
             "  ]\n" +
42
             "}";
42
             "}";