mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed terms and conditions version check
This commit is contained in:
parent
c52dceddf2
commit
19ca8390e7
@ -1,2 +0,0 @@
|
||||
// please change also version in file "webapp/constants/terms-and-conditions-version.js"
|
||||
export const VERSION = '0.0.4'
|
||||
@ -2,6 +2,7 @@ Feature: Authentication
|
||||
As an user
|
||||
I want to sign in
|
||||
In order to be able to posts and do other contributions as myself
|
||||
Furthermore I want to be able to stay logged in and logout again
|
||||
|
||||
Background:
|
||||
Given I have an user account
|
||||
|
||||
@ -4,7 +4,6 @@ import {
|
||||
Then
|
||||
} from "cypress-cucumber-preprocessor/steps";
|
||||
import helpers from "../../support/helpers";
|
||||
import { VERSION } from '../../constants/terms-and-conditions-version.js'
|
||||
import locales from '../../../webapp/locales'
|
||||
import orderBy from 'lodash/orderBy'
|
||||
|
||||
@ -13,10 +12,6 @@ import orderBy from 'lodash/orderBy'
|
||||
const languages = orderBy(locales, 'name')
|
||||
let lastPost = {};
|
||||
|
||||
const termsAndConditionsAgreedVersion = {
|
||||
termsAndConditionsAgreedVersion: VERSION
|
||||
};
|
||||
|
||||
const annoyingParams = {
|
||||
email: "spammy-spammer@example.org",
|
||||
slug: 'spammy-spammer',
|
||||
|
||||
@ -2,6 +2,7 @@ const narrator = {
|
||||
id: 'id-of-peter-pan',
|
||||
name: "Peter Pan",
|
||||
slug: "peter-pan",
|
||||
termsAndConditionsAgreedVersion: '0.0.4',
|
||||
}
|
||||
|
||||
export default narrator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user