# Unit tests for move to folder functionality

**URL:** <https://discourse.joplinapp.org/t/unit-tests-for-move-to-folder-functionality/24244>\
**Category:** Development\
**Created:** [8 March 2022 21:40 UTC](https://discourse.joplinapp.org/t/unit-tests-for-move-to-folder-functionality/24244 "2022-03-08T21:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedibrahim](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ahmedibrahim/32/12919_2.png) [@ahmedibrahim](https://discourse.joplinapp.org/u/ahmedibrahim)\
**Post date:** [8 March 2022 21:40 UTC](https://discourse.joplinapp.org/t/unit-tests-for-move-to-folder-functionality/24244/1 "2022-03-08T21:40:53Z")

</div>

Hello everyone,

As per this [PR](https://github.com/laurent22/joplin/pull/6246), I made it easier to distinguish between notes with same name in different locations while searching

For unit-tests in this part, what example of tests can I add for this part to make sure it's working correct?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [9 March 2022 17:17 UTC](https://discourse.joplinapp.org/t/unit-tests-for-move-to-folder-functionality/24244/2 "2022-03-09T17:17:52Z")

</div>

The documentation for test units has now been updated:

> <https://github.com/laurent22/joplin/blob/dev/CONTRIBUTING.md#automated-tests>

If something's missing let us know.

---

<div class="post-metadata">

**Author:** ![ahmedibrahim](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ahmedibrahim/32/12919_2.png) [@ahmedibrahim](https://discourse.joplinapp.org/u/ahmedibrahim)\
**Post date:** [10 March 2022 00:48 UTC](https://discourse.joplinapp.org/t/unit-tests-for-move-to-folder-functionality/24244/3 "2022-03-10T00:48:12Z")

</div>

Thanks a lot
