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/admin/050-updates/120-planet-mining
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue