fix: address performance and security findings
- Add PostgreSQL-backed backend and frontend tests to CI - Harden Android API logging and disable app backups - Update the performance report with resolved findings
This commit is contained in:
1 parent
a84a36349b
commit
937f51b4fb
35 files changed
+2566
-332
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestFieldDefaultsFillMissingValues(t *testing.T) {
|
||||
fieldType, alignment := fieldDefaults("", "")
|
||||
if fieldType != "TEXT" || alignment != "start" {
|
||||
t.Fatalf("fieldDefaults(empty) = (%q, %q), want (TEXT, start)", fieldType, alignment)
|
||||
}
|
||||
fieldType, alignment = fieldDefaults("NUMBER", "end")
|
||||
if fieldType != "NUMBER" || alignment != "end" {
|
||||
t.Fatalf("fieldDefaults(set) = (%q, %q), want (NUMBER, end)", fieldType, alignment)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user