mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-17 03:28:15 +02:00
updated automigrate templates, added js bindings tests and updated models IsNew behavior
This commit is contained in:
1 parent
604009bd10
commit
b8cd686b32
21 files changed
+546
-213
No files matched your search
@@ -17,7 +17,7 @@ func TestFindUploadedFiles(t *testing.T) {
|
||||
filename string
|
||||
expectedPattern string
|
||||
}{
|
||||
{"ab.png", `^ab_\w{10}_\w{10}\.png$`},
|
||||
{"ab.png", `^ab\w{10}_\w{10}\.png$`},
|
||||
{"test", `^test_\w{10}\.txt$`},
|
||||
{"a b c d!@$.j!@$pg", `^a_b_c_d_\w{10}\.jpg$`},
|
||||
{strings.Repeat("a", 150), `^a{100}_\w{10}\.txt$`},
|
||||
|
||||
Reference in new issue
Block a user