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:
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
|
@ -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 )
|
||||
|
|
Reference in a new issue