test: fix the tui tests with the new model structure

This commit is contained in:
Slug-Boi
2024-11-12 21:03:33 +01:00
parent c8e5d87e3f
commit d7f279b0b3
2 changed files with 76 additions and 39 deletions
+3
View File
@@ -18,6 +18,9 @@ var DefExclude = []string{}
var Groups = map[string][]User{}
func Define_users(author_file string) {
// wipe the users map
Users = map[string]User{}
file, err := os.Open(author_file)
if err != nil {
print("File not found")