Explorar el Código

got rid of ISODates + changed version in POM

Jonathan LALOU hace 7 años
padre
commit
883c62dffa
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1
    1
      pom.xml
  2. 2
    2
      src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java

+ 1
- 1
pom.xml Ver fichero

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

+ 2
- 2
src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java Ver fichero

@@ -28,7 +28,7 @@ public class FakeZincController {
28 28
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
29 29
             "      \"merchant\" : \"amazon\",\n" +
30 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 32
             "    }\n" +
33 33
             "  ],\n" +
34 34
             "  \"tracking\" : [\n" +
@@ -36,7 +36,7 @@ public class FakeZincController {
36 36
             "      \"merchant_order_id\" : \"112-1234567-7272727\",\n" +
37 37
             "      \"carrier\" : \"Fedex\",\n" +
38 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 40
             "    }\n" +
41 41
             "  ]\n" +
42 42
             "}";