Skip to content

Add instantiation of project_dao in time_entries_model #136

@Angeluz-07

Description

@Angeluz-07

Because of requirements in #129 , we make use of a project_dao instance. This is so for the method find and find_all of TimeEntriesRepository. But the instantiation was missing in the method find_all. This was not caught by the current tests.

This is the cause that time-entries/ endpoint is failing.

TODO:

  • Fix the bug
  • Open a ticket to develop a test to catch this kind of issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions