uncaught exception happened when i run the test suite of users-persistent
- 主要语言
- Haskell
- 星标
- 51
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
Authentification
Migrating: CREATE TABLE "login"("id" INTEGER PRIMARY KEY,"created_at" TIMESTAMP NOT NULL,"username" VARCHAR NOT NULL,"email" VARCHAR NOT NULL,"password" VARCHAR NOT NULL,"active" BOOLEAN NOT NULL,CONSTRAINT "unique_username" UNIQUE ("username"),CONSTRAINT "unique_email" UNIQUE ("email"))
Migrating: CREATE TABLE "login_token"("id" INTEGER PRIMARY KEY,"token" VARCHAR NOT NULL,"token_type" VARCHAR NOT NULL,"created_at" TIMESTAMP NOT NULL,"valid_until" TIMESTAMP NOT NULL,"owner" INTEGER NOT NULL REFERENCES "login" ON DELETE RESTRICT ON UPDATE RESTRICT,CONSTRAINT "unique_token" UNIQUE ("token"),CONSTRAINT "unique_typed_token" UNIQUE ("token","token_type"))
auth as valid user with username should work FAILED [1]
Failures:
src/Web/Users/TestSpec.hs:182:9:
1)
Authentification auth as valid user with username should work
uncaught exception: SqliteException
SQLite3 returned ErrorConstraint while attempting to perform step: FOREIGN KEY constraint failed
To rerun use: --match "/\nAuthentification/auth as valid user with username should work/"
Randomized with seed 125537557
Finished in 0.2932 seconds
1 example, 1 failure
users-persistent> Test suite users-persistent-tests failed
Completed 3 action(s).
The 'package-indices' key is deprecated in favour of 'package-index'.
Error: [S-7282]
Stack failed to execute the build plan.
While executing the build plan, Stack encountered the following errors:
TestSuiteFailure (PackageIdentifier {pkgName = PackageName "users-persistent", pkgVersion = mkVersion [0,5,0,2,1]}) (fromList [("users-persistent-tests",Just (ExitFailure 1))]) Nothing ""
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。