Commit graph

56 commits

Author SHA1 Message Date
Artur Beljajev
3d51a93f95 Merge branch 'master' into registry-790 2018-08-27 15:24:05 +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
Artur Beljajev
bf3b54367b Merge branch 'master' into refactor-devise-integration 2018-08-08 14:13:53 +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
a2451f4a13 Fix test name 2018-07-18 12:14:24 +03:00
Artur Beljajev
6f0c886236 Add tests 2018-07-16 00:58:22 +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
Artur Beljajev
223b4f4815 Add tests
#697

(cherry picked from commit bfe9ef3)
2018-02-19 05:39:17 +02:00
Artur Beljajev
a7ed2f35d7 Rename Domain#domain_transfers to #transfers
#694
2018-02-19 05:05:35 +02:00
Artur Beljajev
25e34b388d Mutate fixture instead of relying on separate ones
#694
2018-02-19 04:54:49 +02:00
Artur Beljajev
4d7a222547 Add domain name to domain transfer message
#694
2018-02-19 03:51:32 +02:00
Artur Beljajev
6a7effac50 Improve tests
#694
2018-02-19 03:04:55 +02:00
Artur Beljajev
34f1e2be2f Improve tests
#694
2018-02-19 02:40:25 +02:00
Artur Beljajev
de62587806 Improve test
#694
2018-02-19 02:22:47 +02:00
Artur Beljajev
1ba274764d Convert spec to test
#694
2018-02-19 02:21:47 +02:00
Artur Beljajev
36f65a267c Improve tests
#694
2018-02-19 02:14:13 +02:00
Artur Beljajev
4ada9d1bd0 Fail earlier if domain is non-transferable
Regardless of EPP transfer operation

#694
2018-02-19 02:04:39 +02:00
Artur Beljajev
fec617aa7d Improve tests
#694
2018-02-19 00:56:17 +02:00
Artur Beljajev
4ab6821d8a Improve tests
#694
2018-02-18 05:08:28 +02:00
Artur Beljajev
fafb224c00 Merge branch 'registry-707' into registry-694 2018-02-17 02:49:01 +02:00
Artur Beljajev
443485d5d6 Improve test
#694
2018-02-17 02:48:45 +02:00
Artur Beljajev
59ceb9c51a Hard code test data
#694
2018-02-17 02:42:22 +02:00
Artur Beljajev
709dba7664 Merge branch 'registry-700' into registry-694
# Conflicts:
#	db/structure.sql
2018-02-17 02:37:13 +02:00
Artur Beljajev
e92f8621ef Improve test
#694
2018-02-17 02:25:33 +02:00
Artur Beljajev
6d991387a2 Do not use warden helper in EPP tests
#694
2018-02-16 18:42:51 +02:00
Artur Beljajev
de6e640f86 Improve/fix tests
#707
2018-02-15 22:07:10 +02:00
Artur Beljajev
6c1342c957 Bypass validation on EPP domain:delete
#707
2018-02-15 17:46:09 +02:00
Artur Beljajev
46e85965af Reorganize tests
#700
2018-02-14 04:08:24 +02:00
Artur Beljajev
9b4aa478bf Refactor EPP session limit
#700
2018-02-14 04:06:13 +02:00
Artur Beljajev
ec43586ef4 Require authentication on EPP logout
#700
2018-02-14 01:17:51 +02:00