Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit a6b51bc

Browse files
committed
Make Codeception happy
1 parent 7a40852 commit a6b51bc

17 files changed

+9038
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/tests/*.suite.yml
88
/tests/_output/*
99
/tests/_support/_generated/
10+
/wordpress/*
1011

1112
### Composer ###
1213
/vendor/

composer.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,29 @@
4949
"src/pluggable.php"
5050
]
5151
},
52+
"autoload-dev": {
53+
"psr-4": {
54+
"TypistTech\\WPPasswordArgonTwo\\": "tests/wpunit"
55+
}
56+
},
5257
"scripts": {
58+
"codecept": "codecept",
5359
"pre-tag": [
5460
"doctoc README.md"
5561
],
56-
"test": "echo 'No test for now'"
62+
"test": "codecept run wpunit"
5763
},
5864
"config": {
5965
"platform": {
6066
"php": "7.4.0"
6167
}
68+
},
69+
"require-dev": {
70+
"codeception/codeception": "^4.1",
71+
"codeception/module-phpbrowser": "^1.0.0",
72+
"codeception/module-asserts": "^1.0.0",
73+
"lucatume/wp-browser": "^2.6",
74+
"codeception/module-db": "^1.0",
75+
"roots/wordpress": "^5.4"
6276
}
6377
}

0 commit comments

Comments
 (0)