SQL unit tests fixes

* Added plan() instead of no_plan() where necessary

* Removed junk from dirty tests system self-check
This commit is contained in:
Emmanuel BENOîT 2012-01-31 12:14:38 +01:00
parent 44b6ec1920
commit ba6a1e2b41
5 changed files with 9 additions and 11 deletions
legacyworlds-server-data/db-structure/tests/dirty/000-dirty-tests-self-check

View file

@ -4,9 +4,7 @@
* Insert an address, it should exist during the main test.
*/
BEGIN;
SELECT no_plan( );
SELECT pg_advisory_lock( 1 );
SELECT plan( 1 );
SELECT diag_test_name( 'Dirty test system self-check - prepare.sql was executed' );
SELECT is( COUNT(*)::INT , 1 )