Giter Site home page Giter Site logo

vanilla-phoenix-project's People

Contributors

wintermeyer avatar

Watchers

 avatar  avatar  avatar  avatar

vanilla-phoenix-project's Issues

After adding :first_name, :last_name and :gender the tests fall flat

48a787e added :first_name, :last_name and :gender. Works in development.

But the tests fall flat. Something with the fixtures.

 90) test confirm_user/2 does not confirm email if token expired (Bloggerday.AccountsTest)
     test/bloggerday/accounts_test.exs:406
     ** (Postgrex.Error) ERROR 42703 (undefined_column) column "first_name" of relation "users" does not exist
     
         query: INSERT INTO "users" ("email","first_name","gender","hashed_password","last_name","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7) RETURNING "id"
     stacktrace:
       (ecto_sql 3.5.3) lib/ecto/adapters/sql.ex:751: Ecto.Adapters.SQL.raise_sql_call_error/1
       (ecto 3.5.5) lib/ecto/repo/schema.ex:649: Ecto.Repo.Schema.apply/4
       (ecto 3.5.5) lib/ecto/repo/schema.ex:262: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
       (bloggerday 0.1.0) test/support/fixtures/accounts_fixtures.ex:20: Bloggerday.AccountsFixtures.user_fixture/1
       test/bloggerday/accounts_test.exs:382: Bloggerday.AccountsTest.__ex_unit_setup_8/1
       test/bloggerday/accounts_test.exs:1: Bloggerday.AccountsTest.__ex_unit__/2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.