test(14.3-04): pin every file summer new writes with golden files
- new_golden_test.go: -update flag, fixed 0x00..0x1f key, sibling summercms symlink - testdata/new (16 files + next steps) and testdata/new-no-plugin (6) - plugin go.mod replace and absent root go.sum asserted instead of pinned
This commit is contained in:
10
internal/build/testdata/new/dot-env.example.golden
vendored
Normal file
10
internal/build/testdata/new/dot-env.example.golden
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# The variables .env sets. summer new wrote a .env with a fresh key; copy this
|
||||
# file to .env only when you need to start over.
|
||||
SUMMER_DATABASE__DSN=postgres://summer:summer@127.0.0.1:54320/demo?sslmode=disable
|
||||
# A 32-byte base64 application key. Generate one with ./bin/demo key:generate
|
||||
# and paste only the key, without the leading check mark.
|
||||
SUMMER_APP__KEY=
|
||||
# Uploads bucket; config/storage.yaml already sets this default.
|
||||
# SUMMER_STORAGE__UPLOADS__BUCKET_URL=file://./storage/app/uploads
|
||||
# Configuration environment; selects the config overlay (default production).
|
||||
# SUMMER_ENV=development
|
||||
Reference in New Issue
Block a user