From adab3f162ddc642f5fe4fad39d0eeda543c1d2db Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 9 Jan 2026 17:15:36 +0100 Subject: have a general populate() to fill some data in Especially with all the "list" commands, we now see that we always have to put some data into the instance. This is cumbersome, especially as we get to the track commands. Therefore, I added a method to put some data into the instance -- that also helps to ensure that we properly cascade things if we delete a user, for example. Currently, this method only adds two users and two tracks, but I plan to also add comments and friendship associations. Further, we can think about re-writing the playwright tests to use this population as well, instead of the playwright_helper one. --- tests/assets/picture01.jpg | Bin 0 -> 58545 bytes tests/assets/picture02.jpg | Bin 0 -> 52997 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/assets/picture01.jpg create mode 100644 tests/assets/picture02.jpg (limited to 'tests/assets') diff --git a/tests/assets/picture01.jpg b/tests/assets/picture01.jpg new file mode 100644 index 0000000..cdd6d1b Binary files /dev/null and b/tests/assets/picture01.jpg differ diff --git a/tests/assets/picture02.jpg b/tests/assets/picture02.jpg new file mode 100644 index 0000000..3e38495 Binary files /dev/null and b/tests/assets/picture02.jpg differ -- cgit v1.2.3