Joe Nelson
|
e02dc2e92e
|
Remove redundant do
|
2016-01-27 18:51:53 -08:00 |
|
Joe Nelson
|
f634b7fe98
|
Rollback test connection on errors
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
bbf8365cd2
|
Upgrade hasql
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
51f71eb53d
|
Run queries in a transaction again
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
ac73e8d77b
|
Remove connection pooling in test
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
b9fd083c77
|
It all compiles but all requests give a postgres error
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
fec316b087
|
WIP: fixing compiler errors in specs
|
2016-01-24 18:09:19 -08:00 |
|
Simone Scarduzio
|
74d76c690f
|
Adding two test cases for 469
|
2016-01-24 14:52:14 +00:00 |
|
Moti Zilberman
|
9a596c2500
|
pgFmtLit: Change condition for using E"..." syntax, fix #458.
Includes a test spec by @diogob.
|
2016-01-15 11:59:25 +02:00 |
|
calebmer
|
3a3d4038cb
|
Add tests for wierd usecases
|
2015-12-29 15:24:27 -05:00 |
|
Ruslan Talpa
|
a61778dba0
|
Fix bug in many-many relation detection introduced but prev PR
|
2015-12-22 16:36:02 +02:00 |
|
Joe Nelson
|
b26fbaf4db
|
Merge pull request #427 from ruslantalpa/fix_407_week_authenticator_role
Fix errors in tests when setting authenticator to noinherit #407
|
2015-12-19 09:34:24 -08:00 |
|
calebmer
|
8f0ba7c41e
|
Unify JSON definition in tests
|
2015-12-16 18:24:04 -05:00 |
|
calebmer
|
88d4798d5e
|
Add column select sans id support
|
2015-12-16 18:24:03 -05:00 |
|
calebmer
|
abe87f2f16
|
Add support for selecting by column
|
2015-12-16 18:24:02 -05:00 |
|
Ruslan Talpa
|
66a34fccdf
|
Fix errors in tests when setting authenticator to noinherit
|
2015-12-16 11:44:28 +02:00 |
|
Ruslan Talpa
|
4544ce3255
|
Fix #399 insert records in tables with no SELECT privileges
|
2015-12-16 10:16:14 +02:00 |
|
Joe Nelson
|
ccadcec6d5
|
Merge branch 'spec-cache-dbstructure'
|
2015-12-11 09:42:26 -08:00 |
|
Ruslan Talpa
|
3cd01f9859
|
Fix failing test after test structure optimization
|
2015-12-11 10:23:11 +02:00 |
|
Joe Nelson
|
b3144aee15
|
Cache schema structure between tests for speed
Causes one test to fail
|
2015-12-10 13:36:28 -08:00 |
|
Ruslan Talpa
|
a6512a2a69
|
Test and fixes for #407 #403 #107
|
2015-12-09 20:59:42 +02:00 |
|
Ruslan Talpa
|
dad41cd3ed
|
Fix #396 include records with missing parents and remove CTE related to parent relation
|
2015-12-09 14:21:27 +02:00 |
|
Diogo Biazus
|
4cc0189ac9
|
Prefixes all roles used in test suite with postgrest_test
|
2015-12-08 12:03:46 -05:00 |
|
Diogo Biazus
|
8b4cb4be6e
|
Replaces postgrest_authenticator for postgrest_test_authenticator
|
2015-12-08 11:53:18 -05:00 |
|
Diogo Biazus
|
d95aeb15f9
|
Reduces privileges fixture to a smaller file so it's manageable without the use of pg_dump
|
2015-12-08 11:50:13 -05:00 |
|
Diogo Biazus
|
6cc8ca707f
|
Separates privileges in another fixture
|
2015-12-08 11:33:22 -05:00 |
|
Diogo Biazus
|
63805d05a1
|
Removes GRANT ALL and let Structure spec pending
|
2015-12-08 11:11:48 -05:00 |
|
Diogo Biazus
|
f66f9e7c92
|
Adds -d postgrest to setup database step in SpecHelper
|
2015-12-08 11:06:50 -05:00 |
|
Diogo Biazus
|
ca3ab7babf
|
Cleanup code in SpecHelper
|
2015-12-08 01:01:38 -05:00 |
|
Diogo Biazus
|
0961524e70
|
Refactors tests to use new fixtures and remove some haskell functions that wont be necessary anymore
|
2015-12-08 00:44:49 -05:00 |
|
Diogo Biazus
|
027bbc6074
|
Adds separate fixture file with commands to create test database
|
2015-12-08 00:00:00 -05:00 |
|
Diogo Biazus
|
c1c44aae05
|
Adds separate fixture file with data used in specs
|
2015-12-07 23:59:33 -05:00 |
|
Joe Nelson
|
598b2bfbda
|
Remove lint
|
2015-12-05 19:50:07 -08:00 |
|
Joe Nelson
|
f4c73c7666
|
Test for --max-rows behavior
|
2015-12-05 19:31:53 -08:00 |
|
Joe Nelson
|
cbbb1871bb
|
Add --max-rows option (no automated tests yet)
Fixes #288
|
2015-12-05 19:03:18 -08:00 |
|
Diogo Biazus
|
65e7744858
|
Uses anti_id computed column to make test case clearer
|
2015-12-02 17:12:37 -05:00 |
|
Diogo Biazus
|
71dab115c9
|
Uses qualified column name in order by clause to allow computed columns
|
2015-12-02 15:23:10 -05:00 |
|
calebmer
|
b651a45734
|
Fix time fetch on initialization
|
2015-11-28 16:49:12 -05:00 |
|
Ruslan Talpa
|
48ee77a64d
|
bugfix: filter columns on embeded parent objects
|
2015-11-24 12:53:50 +02:00 |
|
Joe Nelson
|
377aeefde9
|
Test tricky situation for plurality=singular
|
2015-11-23 17:15:09 -08:00 |
|
Joe Nelson
|
029276bd62
|
Use brackets to specify subqueries
|
2015-11-23 10:58:04 -08:00 |
|
Ruslan Talpa
|
cf2e45d47f
|
Fix lint issue
|
2015-11-20 16:11:21 +02:00 |
|
Ruslan Talpa
|
0cce22f8c1
|
check request payload for structure & remove bad test for csv
|
2015-11-20 16:07:20 +02:00 |
|
Joe Nelson
|
f3d5759c1a
|
JWT is handled by middleware, do not need it in Intent
|
2015-11-19 11:20:30 -08:00 |
|
Joe Nelson
|
c21e5a9fc8
|
Merge pull request #375 from calebmer/feature/plurality-singular
Implement single route selection
|
2015-11-18 14:39:33 -08:00 |
|
calebmer
|
ad555986d4
|
Error refactors
|
2015-11-16 17:28:39 -05:00 |
|
calebmer
|
54eb0d3ec4
|
Implement single route selection
|
2015-11-16 17:21:07 -05:00 |
|
Ruslan Talpa
|
0c3545fa09
|
App.hs refactor
|
2015-11-16 12:26:55 +02:00 |
|
Joe Nelson
|
a6cfecbc29
|
Merge v3
|
2015-11-14 17:52:05 -08:00 |
|
Joe Nelson
|
51e1d8d796
|
Merge pull request #353 from calebmer/feature/view-relations
Better view relations
|
2015-11-14 10:00:46 -08:00 |
|