Commit graph

382 commits

Author SHA1 Message Date
Artur Beljajev
5338e59a2e Fix tests 2018-08-21 12:48:08 +03:00
Artur Beljajev
99516d87d6 Use TaskTestCase as a parent 2018-08-21 00:53:47 +03:00
Artur Beljajev
5e7ad95092 Merge branch 'add-task-test-case' into registry-790 2018-08-21 00:51:59 +03:00
Artur Beljajev
168010b787 Add TaskTestCase 2018-08-21 00:50:56 +03:00
Artur Beljajev
c48cdf68b6 Merge branch 'master' into registry-790 2018-08-20 21:20:52 +03:00
Maciej Szlosarczyk
c028c0e477
Add more tests to deposit handling 2018-08-15 20:18:07 +03:00
Maciej Szlosarczyk
b4b404888b
Disallow deposits that are lower than 0.01 EUR 2018-08-15 12:25:19 +03:00
Artur Beljajev
732997bf9e Merge branch 'registry-791' into registry-790
# Conflicts:
#	app/views/admin/domains/edit.html.erb
#	config/locales/admin/domains.en.yml
2018-08-09 16:42:43 +03:00
Maciej Szlosarczyk
256d2b7de4
Add test for error in business registry 2018-08-09 15:24:21 +03:00
Artur Beljajev
13f2bff8d0 Use setup callback 2018-08-09 15:05:28 +03:00
Maciej Szlosarczyk
4cc0669286
Add business registry support for contacts controller 2018-08-09 15:04:22 +03:00
Artur Beljajev
1d79f6548d Merge branch 'master' into registry-790
# Conflicts:
#	test/integration/epp/domain/domain_delete_test.rb
#	test/integration/epp/domain/domain_update_test.rb
#	test/integration/epp/domain/transfer/request_test.rb
#	test/system/admin_area/domains_test.rb
2018-08-09 15:01:23 +03:00
Maciej Szlosarczyk
9dd9d4b1d6
Merge branch 'master' into registrant-api-contacts-controller 2018-08-09 14:05:27 +03:00
Timo Võhmar
71c74a66f8
Merge pull request #926 from internetee/registry-922
Registrant API domain endpoint
2018-08-09 14:03:36 +03:00
Timo Võhmar
015e620260
Merge pull request #921 from internetee/registry-918
Registrant API authentication
2018-08-09 14:02:57 +03:00
Artur Beljajev
9225d30914 Remove dead code 2018-08-08 13:56:14 +03:00
Artur Beljajev
3fc55866b2 Use setup callback 2018-08-08 13:55:54 +03:00
Artur Beljajev
4ad02ddc34 Merge branch 'master' into improve-contact-tests 2018-08-08 13:54:48 +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
Artur Beljajev
f73a2551d3 Improve readability 2018-08-07 22:53:02 +03:00
Artur Beljajev
738785fcb9 Add contact tests 2018-08-07 16:41:11 +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
Artur Beljajev
cc36e3ccea Forbid cancelling force delete procedure when a domain is discarded 2018-07-29 20:42:29 +03:00
Artur Beljajev
4b30234c86 Merge branch 'registry-791' into registry-790 2018-07-27 16:18:28 +03:00
Maciej Szlosarczyk
b33ad0d4e8
Add show action 2018-07-27 11:00:35 +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
0ab9f6333f
Add API/Registrant/Domains route 2018-07-26 14:46:03 +03:00
Artur Beljajev
e21d428afd Merge branch 'master' into registry-791 2018-07-25 13:27:21 +03:00
Maciej Szlosarczyk
82d5349c02
Merge branch 'master' into registry-918 2018-07-24 16:57:26 +03:00
Maciej Szlosarczyk
aac76b333c
Revert "Use inflector rule to acronym Api to API"
This reverts commit 06f5eb10d4.
2018-07-24 12:53:51 +03:00
Maciej Szlosarczyk
06f5eb10d4
Use inflector rule to acronym Api to API 2018-07-24 12:02:58 +03:00
Maciej Szlosarczyk
42004f933f
Add IP block on authentication via EID
Also, correct mistakenly used 403 error code.
Update aplication-example.yml to include new functionality.
2018-07-24 11:33:51 +03:00
Maciej Szlosarczyk
8f234a5852
Create base controller class 2018-07-23 16:23:56 +03:00
Maciej Szlosarczyk
f92ece5467
Refactor common part of the find_or_create_by_x into a private method 2018-07-23 14:29:16 +03:00
Maciej Szlosarczyk
75119aff2e
Add registrant test class 2018-07-23 13:50:48 +03:00