Maciej Szlosarczyk
256d2b7de4
Add test for error in business registry
2018-08-09 15:24:21 +03:00
Maciej Szlosarczyk
4cc0669286
Add business registry support for contacts controller
2018-08-09 15:04:22 +03:00
Maciej Szlosarczyk
9dd9d4b1d6
Merge branch 'master' into registrant-api-contacts-controller
2018-08-09 14:05:27 +03:00
Maciej Szlosarczyk
961c57563f
Merge branch 'registry-918' into registry-922
2018-08-08 09:15:40 +03:00
Maciej Szlosarczyk
06dc954167
Make tests inherit from ApplicationIntegrationTest class
2018-08-08 09:15:18 +03:00
Maciej Szlosarczyk
8736366a41
Merge branch 'registry-918' into registrant-api-contacts-controller
2018-08-08 09:14:11 +03:00
Maciej Szlosarczyk
e1881685b7
Make tests inherit from ApplicationIntegrationTest class
2018-08-08 09:13:46 +03:00
Maciej Szlosarczyk
133a11977e
Merge branch 'master' into registry-918
2018-08-08 09:06:32 +03:00
Maciej Szlosarczyk
abb1ad60e8
Update failing test
2018-08-07 15:09:18 +03:00
Maciej Szlosarczyk
0798001725
Make returned API errors more consistent
2018-08-07 15:04:37 +03:00
Maciej Szlosarczyk
de9b1517b0
Merge branch 'registry-918' into registrant-api-contacts-controller
2018-08-07 14:57:58 +03:00
Maciej Szlosarczyk
e3807f694d
Merge branch 'registry-918' into registry-922
2018-08-07 14:54:16 +03:00
Maciej Szlosarczyk
ad8dfcc28f
Make authentication errors more consistent with other errors
2018-08-07 14:52:33 +03:00
Maciej Szlosarczyk
3673c69319
Add Registrant/Contacts endpoint
2018-08-01 14:57:41 +03:00
Maciej Szlosarczyk
5c39cb6917
Merge branch 'registry-918' into registry-922
2018-07-31 15:29:36 +03:00
Maciej Szlosarczyk
c476680a91
Add pagination to index
2018-07-31 15:14:21 +03:00
Maciej Szlosarczyk
10d42a0d74
Add domain index action (without pagination yet)
2018-07-30 15:09:48 +03:00
Maciej Szlosarczyk
13562aeb06
Move file to another folder
2018-07-30 13:56:54 +03:00
Maciej Szlosarczyk
c1ea79615f
Make API return errors array
2018-07-30 11:07:44 +03:00
Maciej Szlosarczyk
ed1afb78f6
Make tests conform with #924
2018-07-30 10:30:57 +03:00
Maciej Szlosarczyk
526a9ccd58
Change test structure to follow closer newer Rails 5 rules
...
* Create new class called ApplicationIntegrationTest, so we don't have
to override ActionDispatch::IntegrationTest
* Move UI tests to inherit from ApplicationSystemTestCase
* Existing REST API or EPP tests inherit from
ApplicationIntegrationTest.
* Move `require 'application_system_test_case'` at the end of
`test_helper`
I don't particularly agree with the Rails' convention of treating UI
tests as system tests and API tests as integration tests, but I see no
benefit in actively fighting against it.
2018-07-27 09:36:27 +03:00
Maciej Szlosarczyk
6fb1e44cca
Move affected domains to the top of the hash, update integration test
2018-07-05 17:53:03 +03:00
Maciej Szlosarczyk
3e81366cfc
Add affected domain parameter to REST API response
2018-07-05 17:24:32 +03:00
Artur Beljajev
d064dbc11f
Replace Warden test helpers with Devise ones
2018-06-19 19:40:35 +03:00
Maciej Szlosarczyk
7e88a96f27
Add missed travel_back
callback in teardown
2018-06-18 10:34:24 +03:00
Maciej Szlosarczyk
843dc8edcb
Add new links to registrant page layout
2018-06-18 10:30:23 +03:00
Maciej Szlosarczyk
f1294508d1
Improve setup of a locally failing test
2018-06-07 14:46:18 +03:00
Timo Võhmar
157b383738
Merge pull request #780 from internetee/registry-662
...
Enable domain contact replacement
2018-06-06 15:39:24 +03:00
Maciej Szlosarczyk
2965fddef4
Merge branch 'master' into credit-and-debit-card-payments
2018-06-04 11:06:29 +03:00
Artur Beljajev
472038825a
Fix test
...
#662
2018-06-04 03:19:51 +03:00
Artur Beljajev
263cb2e123
Require new contact to be valid
...
#662
2018-06-04 03:06:29 +03:00
Artur Beljajev
8c915164c5
Change naming
...
#662
2018-06-04 02:14:15 +03:00
Artur Beljajev
f5965331c8
Merge branch 'master' into registry-662
2018-05-29 12:11:25 +03:00
Maciej Szlosarczyk
b32809cdac
Deprecate Registrant::WhoisController
2018-05-25 13:58:13 +03:00
Maciej Szlosarczyk
f1808cfcf1
Remove link to WHOIS controller from registrant portal
2018-05-25 13:55:21 +03:00
Maciej Szlosarczyk
d7afb3880a
Merge branch 'master' into credit-and-debit-card-payments
2018-04-30 11:38:19 +03:00
Maciej Szlosarczyk
cecb60623c
Remove unecessary teardown block
2018-04-27 10:41:43 +03:00
Maciej Szlosarczyk
a6a99df58e
Create AdminContactsTest
2018-04-27 10:37:08 +03:00
Maciej Szlosarczyk
a82db7a67a
Solve both sides of the missing fields bug, not only one
2018-04-26 08:46:21 +03:00
Maciej Szlosarczyk
cec05c3943
Test and fix contact_versions controller affected by the same bug
2018-04-24 13:19:34 +03:00
Maciej Szlosarczyk
b0bec41f56
Write a test that covers missing and non-existent values
2018-04-24 11:53:27 +03:00
Maciej Szlosarczyk
b578cdcfa8
Cleanup setup/teardown methods
2018-04-23 10:27:44 +03:00
Maciej Szlosarczyk
841a069ca4
Rework test to operate on mocks, since it does not need real objects
2018-04-23 10:16:09 +03:00
Maciej Szlosarczyk
5dea92c0d8
Add tests for Payments::BankLink
2018-04-22 19:41:59 +03:00
Maciej Szlosarczyk
663214ee49
Remove variable fields from tests
2018-04-20 14:50:14 +03:00
Maciej Szlosarczyk
e066b1d246
Fix timezone problem in tests
2018-04-20 14:42:35 +03:00
Maciej Szlosarczyk
f6b1db2cce
Fix leaking test
2018-04-20 13:21:20 +03:00
Maciej Szlosarczyk
1cca930744
Cleanup code and environment variables
2018-04-19 10:27:55 +03:00
Maciej Szlosarczyk
d7dc1017b0
Remove capybara-selenium
2018-04-18 19:27:19 +03:00
Artur Beljajev
72dcb24e3e
Merge branch 'master' into registry-662
2018-04-18 17:33:00 +03:00