Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb30bf8b

Browse files
committed
chore: fix tests
1 parent6414bed commitb30bf8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/migration_generator_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ defmodule AshPostgres.MigrationGeneratorTest do
101101
assert[file]=Path.wildcard("test_migration_path/**/*_migrate_resources*.exs")
102102

103103
assertFile.read!(file)=~
104-
~S[add :id, :binary_id, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
104+
~S[add :id, :uuid, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
105105
end
106106

107107
test"the migration adds other attributes"do
@@ -311,7 +311,7 @@ defmodule AshPostgres.MigrationGeneratorTest do
311311
Enum.sort(Path.wildcard("test_migration_path/**/*_migrate_resources*.exs"))
312312

313313
assertFile.read!(file2)=~
314-
~S[add :guid, :binary_id, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
314+
~S[add :guid, :uuid, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
315315
end
316316

317317
test"when multiple schemas apply to the same table, all attributes are added"do

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp