Skip to content

Commit d31b509

Browse files
committed
Fixed cleanup_viewtest.sh
1 parent c7ad6e8 commit d31b509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/views/cleanup_viewtest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
DATABASE_URL="postgresql://localhost/django_postgres_viewtest"
4-
rm -Rf view_project_test/
4+
rm -Rf test__views/
55
DROP_CMD=$(psql -P format=unaligned -P tuples_only -d "$DATABASE_URL" -c "select 'DROP TABLE \"' || array_to_string(array_agg(tablename), '\", \"') || '\" CASCADE;' from pg_tables where schemaname = 'public';")
66
echo "$DROP_CMD"
77
psql -d "$DATABASE_URL" -c "$DROP_CMD"

0 commit comments

Comments
 (0)