Emmanuel BENOîT
597429fadf
* Added session records to carry resource information over to the clients * Added SQL support code for the various views * Added interface and implementation of the resource information access component * Hooked resources information queries into both the empire and planet management component * Added resources display to planet and overview pages
13 lines
No EOL
256 B
PL/PgSQL
13 lines
No EOL
256 B
PL/PgSQL
/*
|
|
* Test privileges on emp.get_planet_resources()
|
|
*/
|
|
BEGIN;
|
|
SELECT plan( 1 );
|
|
|
|
SELECT diag_test_name( 'emp.get_planet_resources() - Privileges' );
|
|
SELECT lives_ok( $$
|
|
SELECT emp.get_planet_resources( 1 )
|
|
$$ );
|
|
|
|
SELECT * FROM finish( );
|
|
ROLLBACK; |