Skip to content
Snippets Groups Projects
Commit ba04457f authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-select-name-from-entity' into 'dev'

add new test for SELECT name FROM ENTITY

See merge request !4
parents 76298e31 c9dcd49d
No related branches found
No related tags found
1 merge request!4add new test for SELECT name FROM ENTITY
Pipeline #8094 passed
......@@ -160,6 +160,7 @@ build-testenv:
only:
- schedules
- web
- pushes
needs: []
script:
- df -h
......
......@@ -147,6 +147,17 @@ def test_name2():
assert e.description is None
def test_name_from_entity():
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS",
"FALSE")
p3s = db.execute_query("SELECT name FROM ENTITY", flags={"cache": "false"})
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS",
"TRUE")
p3s = db.execute_query("SELECT name FROM ENTITY", flags={"cache": "false"})
def test_multi1():
p1 = db.execute_query(
"SELECT id, name, description FROM TestPropertyOne",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment