Created
October 19, 2016 15:18
-
-
Save Hajto/17bd08eda943520a96f584a34e91d4fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
............ | |
1) test updates and renders chosen resource when data is valid (Kpsz.EventControllerTest) | |
test/controllers/event_controller_test.exs:47 | |
** (Ecto.ChangeError) value `"(1.23, 2.33)"` for `Kpsz.Event.location` in `update` does not match type Kpsz.Point | |
stacktrace: | |
(ecto) lib/ecto/repo/schema.ex:629: Ecto.Repo.Schema.dump_field!/6 | |
(ecto) lib/ecto/repo/schema.ex:638: anonymous fn/6 in Ecto.Repo.Schema.dump_fields!/5 | |
(stdlib) lists.erl:1263: :lists.foldl/3 | |
(ecto) lib/ecto/repo/schema.ex:636: Ecto.Repo.Schema.dump_fields!/5 | |
(ecto) lib/ecto/repo/schema.ex:585: Ecto.Repo.Schema.dump_changes!/6 | |
(ecto) lib/ecto/repo/schema.ex:252: anonymous fn/12 in Ecto.Repo.Schema.do_update/4 | |
(kpsz) web/controllers/event_controller.ex:36: Kpsz.EventController.update/2 | |
(kpsz) web/controllers/event_controller.ex:1: Kpsz.EventController.action/2 | |
(kpsz) web/controllers/event_controller.ex:1: Kpsz.EventController.phoenix_controller_pipeline/2 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.instrument/4 | |
(kpsz) lib/phoenix/router.ex:261: Kpsz.Router.dispatch/2 | |
(kpsz) web/router.ex:1: Kpsz.Router.do_call/2 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.phoenix_pipeline/1 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.call/2 | |
(phoenix) lib/phoenix/test/conn_test.ex:224: Phoenix.ConnTest.dispatch/5 | |
test/controllers/event_controller_test.exs:49: (test) | |
.. | |
2) test creates and renders resource when data is valid (Kpsz.EventControllerTest) | |
test/controllers/event_controller_test.exs:36 | |
** (Ecto.ChangeError) value `"(1.23, 2.33)"` for `Kpsz.Event.location` in `insert` does not match type Kpsz.Point | |
stacktrace: | |
(ecto) lib/ecto/repo/schema.ex:629: Ecto.Repo.Schema.dump_field!/6 | |
(ecto) lib/ecto/repo/schema.ex:638: anonymous fn/6 in Ecto.Repo.Schema.dump_fields!/5 | |
(stdlib) lists.erl:1263: :lists.foldl/3 | |
(ecto) lib/ecto/repo/schema.ex:636: Ecto.Repo.Schema.dump_fields!/5 | |
(ecto) lib/ecto/repo/schema.ex:585: Ecto.Repo.Schema.dump_changes!/6 | |
(ecto) lib/ecto/repo/schema.ex:190: anonymous fn/11 in Ecto.Repo.Schema.do_insert/4 | |
(kpsz) web/controllers/event_controller.ex:14: Kpsz.EventController.create/2 | |
(kpsz) web/controllers/event_controller.ex:1: Kpsz.EventController.action/2 | |
(kpsz) web/controllers/event_controller.ex:1: Kpsz.EventController.phoenix_controller_pipeline/2 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.instrument/4 | |
(kpsz) lib/phoenix/router.ex:261: Kpsz.Router.dispatch/2 | |
(kpsz) web/router.ex:1: Kpsz.Router.do_call/2 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.phoenix_pipeline/1 | |
(kpsz) lib/kpsz/endpoint.ex:1: Kpsz.Endpoint.call/2 | |
(phoenix) lib/phoenix/test/conn_test.ex:224: Phoenix.ConnTest.dispatch/5 | |
test/controllers/event_controller_test.exs:37: (test) | |
..... | |
3) test changeset with valid attributes (Kpsz.EventTest) | |
test/models/event_test.exs:13 | |
Expected truthy, got false | |
code: changeset.valid?() | |
stacktrace: | |
test/models/event_test.exs:15: (test) | |
.. | |
Finished in 1.2 seconds | |
24 tests, 3 failures | |
Randomized with seed 85133 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment