Skip to content
Snippets Groups Projects
Commit b5e174da authored by geant-release-service's avatar geant-release-service
Browse files

Finished release 0.23.

parents 4dd233bd 4995d75b
Branches
Tags 0.23
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='compendium-v2',
version="0.22",
version="0.23",
author='GEANT',
author_email='swd@geant.org',
description='Flask and React project for displaying '
......
......@@ -39,7 +39,7 @@ function Landing(): ReactElement {
<br />
<p>
{loggedIn ? "You are logged in" : "You are not logged in"}
{loggedIn && !hasNren ? ", but your access to the survey has not been approved" : moveToSurvey()}
{!hasNren ? ", but your access to the survey has not been approved" : moveToSurvey()}
</p>
</div>
......
......@@ -97,7 +97,7 @@ def test_survey_route_publish(app, client, test_survey_data, mocked_admin_user):
assert not result.get('success')
with app.app_context():
survey = db.session.scalar(Survey.query.filter(Survey.year == 2022))
survey = db.session.query(Survey).filter(Survey.year == 2022).first()
survey.status = SurveyStatus.closed
db.session.commit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment