Commit graph

44 commits

Author SHA1 Message Date
olegphenomenon
825f813437 updated tests 2021-09-08 14:22:12 +03:00
Oleg Hasjanov
4c5e4d7898 made support test schema domain version 1.2 2021-06-28 13:44:13 +03:00
Oleg Hasjanov
1665e6e71e make supporting version for schema 2021-06-25 14:27:40 +03:00
Alex Sherman
860c3c8008 Add domain base & auction tests
Add tests for domain create, delete, renew, transfer, update
2021-06-17 13:38:02 +05:00
Oleg Hasjanov
9e8f760fc4 updated prefixes 2021-06-04 17:07:56 +03:00
Alex Sherman
00a0be2341 Replace some hardcoded schema paths for method calls 2021-05-21 16:47:20 +05:00
Alex Sherman
a0d0ce3e00 Rename util class, add first usage 2021-05-21 14:38:31 +05:00
Alex Sherman
c52c669339 Fix error code/message 2021-04-28 14:02:31 +05:00
Alex Sherman
0f58e47513 Fix test to have file at Base64, fix size validation 2021-04-28 13:50:23 +05:00
Alex Sherman
31a463c587 Move size constant to LegalDocument class 2021-04-28 13:50:23 +05:00
Alex Sherman
9f21b1704c Change error type if legaldoc file is more than 8 MB 2021-04-28 13:50:23 +05:00
Oleg Hasjanov
3b11f0bc20 Test: Added test for legal doc sizes 2021-04-28 13:50:23 +05:00
Oleg Hasjanov
18c994256f xml padding changed 2021-01-28 14:16:39 +02:00
Oleg Hasjanov
2648f66e78 made refactoring: remove paddings and line breaks 2021-01-28 14:09:07 +02:00
Alex Sherman
3dfb22d79d Return epp error 2306 is tech are admin contacts are duplicated 2021-01-28 16:52:21 +05:00
Oleg Hasjanov
560d9111ce added tests for not unique contacts 2021-01-28 16:44:07 +05:00
Oleg Hasjanov
cdf1721ba2 changed test name 2021-01-27 13:59:50 +05:00
Oleg Hasjanov
b3df3590b7 Test for Illegal chars in DNSkey 2021-01-27 13:59:50 +05:00
Oleg Hasjanov
54da4c9914 Test for Illegal chars in DNSkey 2021-01-27 13:59:50 +05:00
Karl Erik Õunapuu
49f11cce0b Remove occurrencies of Setting.x 2020-08-12 11:53:52 +03:00
Alex Sherman
4a2176d5d7 Flush settings cache on legal doc mandatority check 2020-07-02 16:59:00 +05:00
Alex Sherman
206704fee7 Add check if legal doc mandatory & tests 2020-06-30 18:43:35 +05:00
Alex Sherman
934033cfbc Add test & validation to not to register blocked IDN domains via EPP
Fixes https://github.com/internetee/registry/issues/1142#issuecomment-581889350
2020-02-04 19:50:28 +05:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
558261c047 Add tests 2019-10-19 13:08:00 +03:00
Artur Beljajev
cb3bf7ffdc List EPP routes explicitly 2019-10-14 14:51:24 +03:00
Artur Beljajev
54577b530b Remove specs 2019-10-07 15:44:14 +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
Maciej Szlosarczyk
04af820b94
Fix test title 2019-04-03 15:14:50 +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
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
9cf5137c75 Add tests 2019-01-06 21:50:00 +02: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
f8eda810f9 Use setup/teardown blocks instead of methods 2018-04-04 01:42:59 +03:00
Artur Beljajev
18010c6a2e Merge branch 'master' into registry-661
# Conflicts:
#	db/structure.sql
2018-02-26 07:39:51 +02:00
Artur Beljajev
ee63cf5a84 Add test
#661
2018-02-21 10:03:23 +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
6d991387a2 Do not use warden helper in EPP tests
#694
2018-02-16 18:42:51 +02:00
Artur Beljajev
56576d6590 Update tests
#660
2018-01-29 02:22:28 +02:00