Skip to content

Commit

Permalink
chore(prisma): upgrade prisma to 3.12.0 (#732)
Browse files Browse the repository at this point in the history
* chore(prisma): upgrade prisma to 3.12.0

* test(all): adapt tests for prisma 3.12.0
  • Loading branch information
steebchen authored Apr 6, 2022
1 parent b4d1dd7 commit b01582d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions binaries/binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (
)

// PrismaVersion is a hardcoded version of the Prisma CLI.
const PrismaVersion = "3.8.1"
const PrismaVersion = "3.12.0"

// EngineVersion is a hardcoded version of the Prisma Engine.
// The versions can be found under https://github.com/prisma/prisma-engines/commits/master
const EngineVersion = "34df67547cf5598f5a6cd3eb45f14ee70c3fb86f"
const EngineVersion = "22b822189f46ef0dc5c5b503368d1bee01213980"

// PrismaURL points to an S3 bucket URL where the CLI binaries are stored.
var PrismaURL = "https://prisma-photongo.s3-eu-west-1.amazonaws.com/%s-%s-%s.gz"
Expand Down
2 changes: 1 addition & 1 deletion test/projects/types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func TestTypes(t *testing.T) {
assert.Equal(t, expected, users)
},
}, {
name: "failing query for the same field should lead to ErrNotFound",
name: "invalid query for the same field should lead to ErrNotFound",
// language=GraphQL
before: []string{`
mutation {
Expand Down
2 changes: 1 addition & 1 deletion test/types/decimal/default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestDecimal(t *testing.T) {
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
test.RunSerial(t, []test.Database{test.MySQL, test.PostgreSQL, test.MongoDB}, func(t *testing.T, db test.Database, ctx context.Context) {
test.RunSerial(t, []test.Database{test.MySQL, test.PostgreSQL}, func(t *testing.T, db test.Database, ctx context.Context) {
client := NewClient()
mockDBName := test.Start(t, db, client.Engine, tt.before)
defer test.End(t, db, client.Engine, mockDBName)
Expand Down

0 comments on commit b01582d

Please sign in to comment.