summaryrefslogtreecommitdiffstats
path: root/test/t1300-git-update.sh
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-04-24 21:16:04 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2017-04-25 07:00:52 +0200
commitf4e2d143adca93b6ebba051e5f1c3e97266bb747 (patch)
tree482738e43e4a9a4cdf5d6d074444c1a5728c467e /test/t1300-git-update.sh
parent90ab7c7b838a706ae7f4e63f95ccdc706ce10977 (diff)
downloadaur-f4e2d143adca93b6ebba051e5f1c3e97266bb747.tar.gz
aur-f4e2d143adca93b6ebba051e5f1c3e97266bb747.tar.xz
Explicitly initialize PackageBases.FlaggerComment
Since commit 09cb61a (schema: Remove invalid default values for TEXT columns, 2017-04-15), the PackageBases.FlaggerComment field no longer has a default value. Initialize this field explicitly whenever a new row is added to the PackageBases table. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test/t1300-git-update.sh')
-rwxr-xr-xtest/t1300-git-update.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/t1300-git-update.sh b/test/t1300-git-update.sh
index dbe60292..f16e2ad4 100755
--- a/test/t1300-git-update.sh
+++ b/test/t1300-git-update.sh
@@ -21,7 +21,7 @@ test_expect_success 'Test update hook on a fresh repository.' '
1|1|foobar|1-1|aurweb test package.|https://aur.archlinux.org/
1|GPL
1|1
- 1|1|python-pygit2||
+ 1|1|python-pygit2|||
1|1
EOF
dump_package_info >actual &&
@@ -42,8 +42,8 @@ test_expect_success 'Test update hook on another fresh repository.' '
2|MIT
1|1
2|2
- 1|1|python-pygit2||
- 2|1|python-pygit2||
+ 1|1|python-pygit2|||
+ 2|1|python-pygit2|||
1|1
2|1
EOF
@@ -63,8 +63,8 @@ test_expect_success 'Test update hook on an updated repository.' '
2|MIT
2|2
3|1
- 2|1|python-pygit2||
- 3|1|python-pygit2||
+ 2|1|python-pygit2|||
+ 3|1|python-pygit2|||
1|1
2|1
EOF
@@ -82,8 +82,8 @@ test_expect_success 'Test restore mode.' '
2|MIT
2|2
3|1
- 2|1|python-pygit2||
- 3|1|python-pygit2||
+ 2|1|python-pygit2|||
+ 3|1|python-pygit2|||
1|1
2|1
EOF