Commit graph

171 commits

Author SHA1 Message Date
Artur Beljajev
7254fd4974 Move tests 2019-09-17 13:59:09 +03:00
Artur Beljajev
06cc6430be Improve readability 2019-09-17 13:58:07 +03:00
Artur Beljajev
89bf6f0401 Add EPP domain:renew tests 2019-09-17 13:50:13 +03:00
Artur Beljajev
79d9c631f5 Change EPP response code according to its specification
Fixes #718
2019-09-13 21:36:29 +03:00
Timo Võhmar
ff58f9bea7
Merge pull request #1302 from internetee/remove-duplicate-test
Remove duplicate test
2019-09-13 15:04:53 +03:00
Artur Beljajev
7689a11a7f Remove duplicate test 2019-09-11 19:30:13 +03:00
Artur Beljajev
03037a039b Remove unnecessary test 2019-09-09 16:05:21 +03:00
Artur Beljajev
348e6e5d7a Introduce custom assertion 2019-09-03 23:43:30 +03:00
Artur Beljajev
771f9b20a9 Remove unnecessary teardown step 2019-09-03 18:25:18 +03:00
Artur Beljajev
c3cacd838a Add EPP domain:delete tests 2019-04-25 13:41:16 +03:00
Artur Beljajev
7a6ec737f1 Move tests 2019-04-18 12:40:04 +03:00
Maciej Szlosarczyk
04af820b94
Fix test title 2019-04-03 15:14:50 +03:00
Maciej Szlosarczyk
888e95a8c7
EPP should use unicode to check domain name availability 2019-04-02 17:35:44 +03:00
Maciej Szlosarczyk
d471b273f7
Handle IDN domains that went to auction
Both ASCII and unicode should be supported to register a domain.
2019-04-02 17:17:40 +03:00
Artur Beljajev
66417d69d9 Do not handle not registered domain in EPP domain:info 2019-03-15 12:46:18 +02:00
Artur Beljajev
36a53bd11a Handle blocked and reserved domains in EPP domain:info
Closes #597
2019-02-18 14:42:05 +02:00
Artur Beljajev
4894b39f0f Hide method 2019-01-18 18:06:58 +02:00
Artur Beljajev
42e8f86dae Integrate auction
Closes #874
2019-01-18 18:06:54 +02:00
Artur Beljajev
6f580d381f Add tests 2019-01-16 18:05:15 +02:00
Artur Beljajev
7a48d438b7 Merge branch 'tests-before-auction-integration' into improve-epp-domain-check 2019-01-14 15:06:56 +02:00
Artur Beljajev
73bd83ebae Add tests 2019-01-14 15:06:11 +02:00
Artur Beljajev
d40dc28484 Make domain unavailable when zone with the same origin exists 2019-01-07 12:25:05 +02:00
Artur Beljajev
cad457fb72 Make domain available when reserved 2019-01-07 12:24:50 +02:00
Artur Beljajev
3772f47613 Make domain unavailable when blocked 2019-01-07 12:24:36 +02:00
Artur Beljajev
9cf5137c75 Add tests 2019-01-06 21:50:00 +02:00
Artur Beljajev
aff5b68a2f Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-08-28 14:28:45 +03:00
Artur Beljajev
8765baf319 Rename Message to Notification 2018-08-23 20:03:03 +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
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
Artur Beljajev
c37f162529 Merge branch 'master' into registry-790 2018-06-06 21:53:08 +03:00
Artur Beljajev
3e94c10da1 Delete discarded domains at the random moment within next 24h
#790
2018-04-20 16:55:36 +03:00
Artur Beljajev
72dcb24e3e Merge branch 'master' into registry-662 2018-04-18 17:33:00 +03:00
Artur Beljajev
e776d09f9d Improve domain discard
- Extract rake task domain:discard
- Remove background job when keeping a domain

#790
2018-04-08 00:38:42 +03:00
Artur Beljajev
2e9acedc90 Improve test name
#790
2018-04-07 15:18:10 +03:00
Artur Beljajev
77135b34ba Merge branch 'tune-test-env' into registry-662
# Conflicts:
#	test/integration/registrar/bulk_change/nameserver_test.rb
#	test/integration/registrar/domain_transfers_test.rb
2018-04-06 00:44:24 +03:00
Artur Beljajev
228078a84e Add bulk replace to registrar area
#662
2018-04-06 00:16:17 +03:00
Artur Beljajev
ea85731050 Merge branch 'tune-test-env' into registry-792 2018-04-04 13:30:40 +03:00
Artur Beljajev
f8eda810f9 Use setup/teardown blocks instead of methods 2018-04-04 01:42:59 +03:00
Artur Beljajev
af414c9267 Reorganize tests
#792
2018-04-03 18:01:56 +03:00
Artur Beljajev
d57c737a80 Convert specs to tests
#792
2018-04-02 09:13:53 +03:00
Artur Beljajev
29a8f39cb6 Prohibit renewing an invalid domain
#678
2018-04-01 22:59:19 +03:00
Artur Beljajev
d42bdfbc0f Improve tests
#746
2018-03-06 11:05:08 +02:00
Artur Beljajev
c733c0910d Merge branch 'master' into registry-746
# Conflicts:
#	test/fixtures/contacts.yml
2018-03-06 07:04:06 +02:00
Artur Beljajev
53a34ee2d6 Reuse identical contacts
#746
2018-03-05 10:59:14 +02:00
Artur Beljajev
18010c6a2e Merge branch 'master' into registry-661
# Conflicts:
#	db/structure.sql
2018-02-26 07:39:51 +02:00
Artur Beljajev
43feaa7900 Merge branch 'master' into registry-661 2018-02-23 04:49:16 +02:00
Artur Beljajev
2d78688d3f Remove too detailed integration test
#694
2018-02-22 12:59:30 +02:00
Artur Beljajev
ee63cf5a84 Add test
#661
2018-02-21 10:03:23 +02:00
Artur Beljajev
9e050b4bcd Fix test
#694
2018-02-19 06:35:51 +02:00
Artur Beljajev
cf43ce2e7c Add test
#694
2018-02-19 06:33:00 +02:00