Skip to content

Commit 2cb6258

Browse files
TitaKolevaangel-dimitrov
authored andcommitted
OXDEV-7471 Change admin email in fixtures
1 parent ecfa1d2 commit 2cb6258

9 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To login and retrieve a token send the following GraphQL query to the server
6868
```graphql
6969
query {
7070
token (
71-
username: "admin@admin.com",
71+
username: "noreply@oxid-esales.com",
7272
password: "admin"
7373
)
7474
}
@@ -82,7 +82,7 @@ credentials.
8282
```bash
8383
$ curl http://oxideshop.local/graphql/ \
8484
-H 'Content-Type: application/json' \
85-
--data-binary '{"query":"query {token(username: \"admin@admin.com\", password: \"admin\")}"}'
85+
--data-binary '{"query":"query {token(username: \"noreply@oxid-esales.com\", password: \"admin\")}"}'
8686
```
8787

8888
You should see a response similar to this:
@@ -109,7 +109,7 @@ To login and retrieve a refresh and access token send the following GraphQL quer
109109
```graphql
110110
query {
111111
login (
112-
username: "admin@admin.com",
112+
username: "noreply@oxid-esales.com",
113113
password: "admin"
114114
) {
115115
refreshToken

tests/Codeception/Acceptance/LoginCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class LoginCest
1818
{
19-
private const ADMIN_LOGIN = 'admin@admin.com';
19+
private const ADMIN_LOGIN = 'noreply@oxid-esales.com';
2020

2121
private const ADMIN_PASSWORD = 'admin';
2222

tests/Codeception/Acceptance/RefreshTokenCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#[Group("oe_graphql_base_token")]
1919
class RefreshTokenCest
2020
{
21-
private const ADMIN_LOGIN = 'admin@admin.com';
21+
private const ADMIN_LOGIN = 'noreply@oxid-esales.com';
2222
private const ADMIN_PASSWORD = 'admin';
2323

2424
public function testRefreshAccessToken(AcceptanceTester $I): void

tests/Codeception/Acceptance/TokenCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TokenCest
2020
{
2121
private const TEST_USER_ID = 'e7af1c3b786fd02906ccd75698f4e6b9';
2222

23-
private const ADMIN_LOGIN = 'admin@admin.com';
23+
private const ADMIN_LOGIN = 'noreply@oxid-esales.com';
2424

2525
private const ADMIN_PASSWORD = 'admin';
2626

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SET @@session.sql_mode = '';
22

33
REPLACE INTO `oxuser` (`OXID`, `OXACTIVE`, `OXRIGHTS`, `OXSHOPID`, `OXUSERNAME`, `OXPASSWORD`, `OXPASSSALT`, `OXCUSTNR`, `OXUSTID`, `OXCOMPANY`, `OXFNAME`, `OXLNAME`, `OXSTREET`, `OXSTREETNR`, `OXADDINFO`, `OXCITY`, `OXCOUNTRYID`, `OXSTATEID`, `OXZIP`, `OXFON`, `OXFAX`, `OXSAL`, `OXBONI`, `OXCREATE`, `OXREGISTER`, `OXPRIVFON`, `OXMOBFON`, `OXBIRTHDATE`, `OXURL`, `OXUPDATEKEY`, `OXUPDATEEXP`, `OXPOINTS`) VALUES
4-
('oxdefaultadmin', 1, 'malladmin', 1, 'admin@admin.com', 'e3a8a383819630e42d9ef90be2347ea70364b5efbb11dfc59adbf98487e196fffe4ef4b76174a7be3f2338581e507baa61c852b7d52f4378e21bd2de8c1efa5e', '61646D696E61646D696E61646D696E', 1, '', 'Your Company Name', 'John', 'Doe', 'Maple Street', '2425', '', 'Any City', 'a7c40f631fc920687.20179984', '', '9041', '217-8918712', '217-8918713', 'MR', 1000, '2003-01-01 00:00:00', '2003-01-01 00:00:00', '', '', '0000-00-00', '', '', 0, 0),
4+
('oxdefaultadmin', 1, 'malladmin', 1, 'noreply@oxid-esales.com', 'e3a8a383819630e42d9ef90be2347ea70364b5efbb11dfc59adbf98487e196fffe4ef4b76174a7be3f2338581e507baa61c852b7d52f4378e21bd2de8c1efa5e', '61646D696E61646D696E61646D696E', 1, '', 'Your Company Name', 'John', 'Doe', 'Maple Street', '2425', '', 'Any City', 'a7c40f631fc920687.20179984', '', '9041', '217-8918712', '217-8918713', 'MR', 1000, '2003-01-01 00:00:00', '2003-01-01 00:00:00', '', '', '0000-00-00', '', '', 0, 0),
55
('e7af1c3b786fd02906ccd75698f4e6b9', 1, 'user', 1, 'user@oxid-esales.com', '$2y$10$b186f117054b700a89de9uXDzfahkizUucitfPov3C2cwF5eit2M2', 'b186f117054b700a89de929ce90c6aef', 2, '', '', 'Marc', 'Muster', 'Hauptstr.', '13', '', 'Freiburg', 'a7c40f631fc920687.20179984', '', '79098', '', '', 'MR', 1000, '2011-02-01 08:41:25', '2011-02-01 08:41:25', '', '', '1984-12-21', '', '', 0, 0);
66

77
REPLACE INTO `oxobject2group` (`OXID`, `OXOBJECTID`, `OXGROUPSID`) VALUES ('_oxdefaultadmin', 'oxdefaultadmin', 'oxidadmin');

tests/Fixtures/dump.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SET @@session.sql_mode = '';
22

33
REPLACE INTO `oxuser` (`OXID`, `OXACTIVE`, `OXRIGHTS`, `OXSHOPID`, `OXUSERNAME`, `OXPASSWORD`, `OXPASSSALT`, `OXCUSTNR`, `OXUSTID`, `OXCOMPANY`, `OXFNAME`, `OXLNAME`, `OXSTREET`, `OXSTREETNR`, `OXADDINFO`, `OXCITY`, `OXCOUNTRYID`, `OXSTATEID`, `OXZIP`, `OXFON`, `OXFAX`, `OXSAL`, `OXBONI`, `OXCREATE`, `OXREGISTER`, `OXPRIVFON`, `OXMOBFON`, `OXBIRTHDATE`, `OXURL`, `OXUPDATEKEY`, `OXUPDATEEXP`, `OXPOINTS`) VALUES
4-
('oxdefaultadmin', 1, 'malladmin', 1, 'admin@admin.com', 'e3a8a383819630e42d9ef90be2347ea70364b5efbb11dfc59adbf98487e196fffe4ef4b76174a7be3f2338581e507baa61c852b7d52f4378e21bd2de8c1efa5e', '61646D696E61646D696E61646D696E', 1, '', 'Your Company Name', 'John', 'Doe', 'Maple Street', '2425', '', 'Any City', 'a7c40f631fc920687.20179984', '', '9041', '217-8918712', '217-8918713', 'MR', 1000, '2003-01-01 00:00:00', '2003-01-01 00:00:00', '', '', '0000-00-00', '', '', 0, 0),
4+
('oxdefaultadmin', 1, 'malladmin', 1, 'noreply@oxid-esales.com', 'e3a8a383819630e42d9ef90be2347ea70364b5efbb11dfc59adbf98487e196fffe4ef4b76174a7be3f2338581e507baa61c852b7d52f4378e21bd2de8c1efa5e', '61646D696E61646D696E61646D696E', 1, '', 'Your Company Name', 'John', 'Doe', 'Maple Street', '2425', '', 'Any City', 'a7c40f631fc920687.20179984', '', '9041', '217-8918712', '217-8918713', 'MR', 1000, '2003-01-01 00:00:00', '2003-01-01 00:00:00', '', '', '0000-00-00', '', '', 0, 0),
55
('e7af1c3b786fd02906ccd75698f4e6b9', 1, 'user', 1, 'user@oxid-esales.com', '$2y$10$b186f117054b700a89de9uXDzfahkizUucitfPov3C2cwF5eit2M2', 'b186f117054b700a89de929ce90c6aef', 2, '', '', 'Marc', 'Muster', 'Hauptstr.', '13', '', 'Freiburg', 'a7c40f631fc920687.20179984', '', '79098', '', '', 'MR', 1000, '2011-02-01 08:41:25', '2011-02-01 08:41:25', '', '', '1984-12-21', '', '', 0, 0);
66

77
REPLACE INTO `oxobject2group` (`OXID`, `OXOBJECTID`, `OXGROUPSID`) VALUES ('_oxdefaultadmin', 'oxdefaultadmin', 'oxidadmin');

tests/Integration/Framework/GraphQLQueryHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class GraphQLQueryHandlerTest extends TestCase
1717
{
18-
private const ADMIN_LOGIN = 'admin@admin.com';
18+
private const ADMIN_LOGIN = 'noreply@oxid-esales.com';
1919

2020
private const ADMIN_PASSWORD = 'admin';
2121

tests/Integration/Infrastructure/LegacyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LegacyTest extends TestCase
2121
{
22-
private const ADMIN_LOGIN = 'admin@admin.com';
22+
private const ADMIN_LOGIN = 'noreply@oxid-esales.com';
2323

2424
private const ADMIN_PASSWORD = 'admin';
2525

tests/Integration/TokenTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
abstract class TokenTestCase extends TestCase
1313
{
1414
/** @var string */
15-
protected const ADMIN_USER = 'admin@admin.com';
15+
protected const ADMIN_USER = 'noreply@oxid-esales.com';
1616

1717
/** @var string */
1818
protected const ADMIN_PASS = 'admin';

0 commit comments

Comments
 (0)