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/016-technology-make-identifier.sql
Emmanuel BENOîT b15acadc1b Empire technology views
* Added new research-related constants

* Added set of views and functions to list empires' technologies. This
includes a view which determines the visibility of an in-progress
research's details, and a main list view.
2012-03-01 09:50:20 +01:00

14 lines
No EOL
309 B
PL/PgSQL

/*
* Test privileges on emp.technology_make_identifier()
*/
BEGIN;
SELECT plan( 1 );
SELECT diag_test_name( 'emp.technology_make_identifier() - No EXECUTE privilege' );
SELECT throws_ok( $$
SELECT emp.technology_make_identifier( 1 , '' , FALSE );
$$ , 42501 );
SELECT * FROM finish( );
ROLLBACK;