-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define item type: Task or Note #14
Comments
To create the
|
The tags table doesn't contains any items at the moment. |
At the moment the coverage is not great: #16 (comment)
|
While updating the captures test the following error occurs:
The following comments explain that with I'm using app-api/lib/app_api/captures/capture.ex Lines 44 to 48 in 14bff08
We can update manually the timestamp fields with:
see also: elixir-ecto/ecto#1932 |
The context files are now fully tested. |
I've tested different way to be able to test the controllers that requires a jwt in the request headers and the easier one at the end is to update the plug authentication function to add a condition depending on the running environment: def call(conn, _) do
if Mix.env() == :test do
assign(conn, :person, %{email: "email", name: "name", id_person: 42})
else
case AppApiWeb.AuthServiceApi.get_person_information(conn) do
{:error, _} -> unauthorized(conn)
{:ok, person} -> assign(conn, :person, person)
end
end
end This way we avoid calling the external authentication system and we bypass all the Google/Github Oauth request flow. |
ref: dwyl/app#266 (comment)
An item can be either a task or a note.
task
field (default true)task
task
fieldThe text was updated successfully, but these errors were encountered: