diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-05-06 16:40:54 +0200 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-05-06 16:44:25 +0200 |
| commit | a5efd7d15b4d049a4ed539ed5d9c2f1037d00973 (patch) | |
| tree | 9b1f002f487b94c8ec7a6b37b761f2d2def10208 /lib/query/tests/create.t | |
| parent | ae4814880d7a2ad9c96e8f4001edf5032b9a7fb2 (diff) | |
Use the double dash as arguments in tests
Diffstat (limited to 'lib/query/tests/create.t')
| -rw-r--r-- | lib/query/tests/create.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/query/tests/create.t b/lib/query/tests/create.t index 565235a..6ba48c3 100644 --- a/lib/query/tests/create.t +++ b/lib/query/tests/create.t @@ -5,7 +5,7 @@ to be succesfully created). Test a single content with no field: - $ tests -schema "entity" <<EOF + $ tests --schema "entity" <<EOF > { > "content": [ > { @@ -19,7 +19,7 @@ Test a single content with no field: Text fields or numeric fields are created as columns directly in the table: - $ tests -schema "entity" <<EOF + $ tests --schema "entity" <<EOF > { > "content": [ > { @@ -52,7 +52,7 @@ Text fields or numeric fields are created as columns directly in the table: A subcontent is linked to the parent: - $ tests -schema "details" <<EOF + $ tests --schema "details" <<EOF > { > "content": [ > { @@ -73,7 +73,7 @@ A subcontent is linked to the parent: A reference field is declared as a foreign key to the linked element - $ tests -schema "entity" <<EOF + $ tests --schema "entity" <<EOF > { > "content": [ > { @@ -114,7 +114,7 @@ A reference field is declared as a foreign key to the linked element When the field is multivaluated, there is no column for this property in the table but a dedicated table is created: - $ tests -schema "entity" "entity.user_type" <<EOF + $ tests --schema "entity" "entity.user_type" <<EOF > { > "content": [ > { |
