This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server-data/db-structure/tests/user/040-functions/040-empire/015-technology-implement.sql
Emmanuel BENOîT f4e38e4943 Technology implementation
* A stored procedure which implements technologies has been added. It
will mark a pending technology as implemented and remove the
corresponding quantity of money from the empire, then add any newly
available research items to the empire's research.
2012-02-28 16:15:02 +01:00

13 lines
No EOL
270 B
PL/PgSQL

/*
* Test privileges on emp.technology_implement()
*/
BEGIN;
SELECT plan( 1 );
SELECT diag_test_name( 'emp.technology_implement() - EXECUTE privilege' );
SELECT lives_ok( $$
SELECT emp.technology_implement( 1 , '' );
$$ );
SELECT * FROM finish( );
ROLLBACK;