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/040-functions/045-empire-mining

View file

@ -21,7 +21,7 @@ BEGIN;
INSERT INTO mset_update VALUES ( 1 , 1 , 0 ) , ( 1 , 2 , 4 );
/***** TESTS BEGIN HERE *****/
SELECT no_plan( );
SELECT plan( 8 );
SELECT diag_test_name( 'emp.mset_update_apply() - Applying valid empire update' );
SELECT ok( emp.mset_update_apply( ) );
@ -90,4 +90,4 @@ BEGIN;
);
SELECT * FROM finish( );
ROLLBACK;
ROLLBACK;