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/admin/050-updates/120-planet-mining

View file

@ -11,7 +11,7 @@ BEGIN;
/***** TESTS BEGIN HERE *****/
SELECT no_plan( );
SELECT plan( 9 );
SELECT diag_test_name( 'sys.gu_pmc_get_data() - Neutral planet without resource providers not included' );
SELECT is_empty( $$
@ -86,4 +86,4 @@ BEGIN;
$$ );
SELECT * FROM finish( );
ROLLBACK;
ROLLBACK;

View file

@ -42,7 +42,7 @@ BEGIN;
/***** TESTS BEGIN HERE *****/
SELECT no_plan( );
SELECT plan( 2 );
SELECT sys.process_planet_mining_updates( 0 );
@ -55,4 +55,4 @@ BEGIN;
);
SELECT * FROM finish( );
ROLLBACK;
ROLLBACK;