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/045-empire-research/060-technology-visibility-view.sql
Emmanuel BENOîT c9d8a077bd Moved empire research SQL to separate file
* Empire research & technology SQL code was getting dense, so it was
moved to a separate file.
2012-03-01 11:50:40 +01:00

15 lines
No EOL
313 B
PL/PgSQL

/*
* Test privileges on emp.technology_visibility_view
*/
BEGIN;
\i utils/strings.sql
SELECT plan( 1 );
SELECT diag_test_name( 'emp.technology_visibility_view - No SELECT privilege' );
SELECT throws_ok( $$
SELECT * FROM emp.technology_visibility_view;
$$ , 42501 );
SELECT * FROM finish( );
ROLLBACK;