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/050-updates/020-empire-research/010-gu-research-get-empires.sql
Emmanuel BENOîT c7949e41cc Research update
* Implemented new research update. Old research system no longer
updates.

* Fixed a major bug in the constants registrar

* Added game.research.vacation constant (determines the rate of
research when players are in vacation mode)
2012-04-02 13:29:43 +02:00

11 lines
No EOL
275 B
PL/PgSQL

/*
* Test privileges on sys.gu_research_get_empires()
*/
BEGIN;
SELECT plan( 1 );
SELECT diag_test_name( 'sys.gu_research_get_empires() - Privileges' );
SELECT throws_ok( 'SELECT sys.gu_research_get_empires( 0::BIGINT )' , 42501 );
SELECT * FROM finish( );
ROLLBACK;